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

Function vtoslab

freebsd/vm/uma_int.h:619–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

zone_releaseFunction · 0.70
uma_dbg_getslabFunction · 0.70

Calls 2

PHYS_TO_VM_PAGEFunction · 0.85
pmap_kextractFunction · 0.50

Tested by

no test coverage detected