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

Function vsetzoneslab

freebsd/vm/uma_int.h:638–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

keg_alloc_slabFunction · 0.70
malloc_largeFunction · 0.50

Calls 2

PHYS_TO_VM_PAGEFunction · 0.85
pmap_kextractFunction · 0.50

Tested by

no test coverage detected