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

Function vtozoneslab

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

Source from the content-addressed store, hash-verified

624}
625
626static __inline void
627vtozoneslab(vm_offset_t va, uma_zone_t *zone, uma_slab_t *slab)
628{
629 vm_page_t p;
630
631 p = PHYS_TO_VM_PAGE(pmap_kextract(va));
632 *slab = p->plinks.uma.slab;
633 *zone = p->plinks.uma.zone;
634}
635
636static __inline void
637vsetzoneslab(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