Lines Matching refs:vmem_t
311 static vmem_t vmem0[VMEM_INITIAL];
312 static vmem_t *vmem_populator[VMEM_INITIAL];
323 static vmem_t *vmem_list;
324 static vmem_t *vmem_metadata_arena;
325 static vmem_t *vmem_seg_arena;
326 static vmem_t *vmem_hash_arena;
327 static vmem_t *vmem_vmem_arena;
401 vmem_getseg(vmem_t *vmp)
418 vmem_putseg(vmem_t *vmp, vmem_seg_t *vsp)
429 vmem_freelist_insert(vmem_t *vmp, vmem_seg_t *vsp)
447 vmem_freelist_delete(vmem_t *vmp, vmem_seg_t *vsp)
467 vmem_hash_insert(vmem_t *vmp, vmem_seg_t *vsp)
493 vmem_hash_delete(vmem_t *vmp, uintptr_t addr, size_t size)
524 vmem_seg_create(vmem_t *vmp, vmem_seg_t *vprev, uintptr_t start, uintptr_t end)
542 vmem_seg_destroy(vmem_t *vmp, vmem_seg_t *vsp)
554 vmem_span_create(vmem_t *vmp, void *vaddr, size_t size, uint8_t import)
585 vmem_span_destroy(vmem_t *vmp, vmem_seg_t *vsp)
609 vmem_seg_alloc(vmem_t *vmp, vmem_seg_t *vsp, uintptr_t addr, size_t size)
670 vmem_populate(vmem_t *vmp, int vmflag)
760 vmem_advance(vmem_t *vmp, vmem_seg_t *walker, vmem_seg_t *afterme)
816 vmem_nextfit_alloc(vmem_t *vmp, size_t size, int vmflag)
917 vmem_canalloc(vmem_t *vmp, size_t size)
937 vmem_xalloc(vmem_t *vmp, size_t size, size_t align_arg, size_t phase,
1205 vmem_xfree(vmem_t *vmp, void *vaddr, size_t size)
1263 vmem_alloc(vmem_t *vmp, size_t size, int vmflag)
1319 vmem_free(vmem_t *vmp, void *vaddr, size_t size)
1332 vmem_contains(vmem_t *vmp, void *vaddr, size_t size)
1355 vmem_add(vmem_t *vmp, void *vaddr, size_t size, int vmflag)
1381 vmem_walk(vmem_t *vmp, int typemask,
1423 vmem_size(vmem_t *vmp, int typemask)
1444 static vmem_t *
1446 void *(*afunc)(vmem_t *, size_t, int),
1447 void (*ffunc)(vmem_t *, void *, size_t),
1448 vmem_t *source, size_t qcache_max, int vmflag)
1452 vmem_t *vmp, *cur, **vmpp;
1458 vmp = vmem_alloc(vmem_vmem_arena, sizeof (vmem_t),
1471 bzero(vmp, sizeof (vmem_t));
1571 vmem_t *
1573 vmem_ximport_t *afunc, vmem_free_t *ffunc, vmem_t *source,
1584 vmem_t *
1586 vmem_alloc_t *afunc, vmem_free_t *ffunc, vmem_t *source,
1600 vmem_destroy(vmem_t *vmp)
1602 vmem_t *cur, **vmpp;
1646 vmem_free(vmem_vmem_arena, vmp, sizeof (vmem_t));
1659 vmem_hash_rescale(vmem_t *vmp)
1714 vmem_t *vmp;
1736 vmem_qcache_reap(vmem_t *vmp)
1751 vmem_t *
1754 void *(*heap_alloc)(vmem_t *, size_t, int),
1755 void (*heap_free)(vmem_t *, void *, size_t))
1759 vmem_t *heap;
1790 (void) vmem_xalloc(vmem_vmem_arena, sizeof (vmem_t),