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

Function vsetzoneslab

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

Source from the content-addressed store, hash-verified

634}
635
636static __inline void
637vsetzoneslab(vm_offset_t va, uma_zone_t zone, uma_slab_t slab)
638{
639 vm_page_t p;
640
641 p = PHYS_TO_VM_PAGE(pmap_kextract(va));
642 p->plinks.uma.slab = slab;
643 p->plinks.uma.zone = zone;
644}
645
646extern unsigned long uma_kmem_limit;
647extern unsigned long uma_kmem_total;

Callers

nothing calls this directly

Calls 2

PHYS_TO_VM_PAGEFunction · 0.85
pmap_kextractFunction · 0.50

Tested by

no test coverage detected