Lines Matching defs:vmem_seg_arena
262 * The segment structures themselves are allocated from vmem_seg_arena, so
263 * we have a recursion problem when vmem_seg_arena needs to populate itself.
268 * The worst-case segment consumption to populate vmem_seg_arena is as
276 * vmem_alloc(vmem_seg_arena) -> 2 segs (span create + exact alloc)
292 * Therefore, we serialize all allocations from vmem_seg_arena (which is OK
299 * vmem_seg_arena, and each thread consumes at most three segment structures,
307 * worst-case allocation from vmem_seg_arena.
325 static vmem_t *vmem_seg_arena;
708 size = P2ROUNDUP(nseg * vmem_seg_size, vmem_seg_arena->vm_quantum);
712 * The following vmem_alloc() may need to populate vmem_seg_arena
717 p = vmem_alloc(vmem_seg_arena, size, vmflag & VM_KMFLAGS);
1774 vmem_seg_arena = vmem_create("vmem_seg",