MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vtoslab

Function vtoslab

tools/compat/include/vm/uma_int.h:617–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617static __inline uma_slab_t
618vtoslab(vm_offset_t va)
619{
620 vm_page_t p;
621
622 p = PHYS_TO_VM_PAGE(pmap_kextract(va));
623 return (p->plinks.uma.slab);
624}
625
626static __inline void
627vtozoneslab(vm_offset_t va, uma_zone_t *zone, uma_slab_t *slab)

Callers

nothing calls this directly

Calls 2

PHYS_TO_VM_PAGEFunction · 0.85
pmap_kextractFunction · 0.50

Tested by

no test coverage detected