Lines Matching refs:vm_quantum
565 if ((start | end) & (vmp->vm_quantum - 1)) in vmem_span_create()
617 size_t realsize = P2ROUNDUP(size, vmp->vm_quantum); in vmem_seg_alloc()
620 ASSERT(P2PHASE(vs_start, vmp->vm_quantum) == 0); in vmem_seg_alloc()
621 ASSERT(P2PHASE(addr, vmp->vm_quantum) == 0); in vmem_seg_alloc()
711 size = P2ROUNDUP(nseg * vmem_seg_size, vmem_seg_arena->vm_quantum); in vmem_populate()
823 size_t realsize = P2ROUNDUP(size, vmp->vm_quantum); in vmem_nextfit_alloc()
886 return (vmem_xalloc(vmp, size, vmp->vm_quantum, in vmem_nextfit_alloc()
946 uintptr_t align = (align_arg != 0) ? align_arg : vmp->vm_quantum; in vmem_xalloc()
952 if ((align | phase | nocross) & (vmp->vm_quantum - 1)) in vmem_xalloc()
1061 size_t aquantum = MAX(vmp->vm_quantum, in vmem_xalloc()
1062 vmp->vm_source->vm_quantum); in vmem_xalloc()
1067 align - vmp->vm_quantum : align - aquantum; in vmem_xalloc()
1098 align <= vmp->vm_source->vm_quantum) in vmem_xalloc()
1118 vmp->vm_source->vm_quantum) == 0); in vmem_xalloc()
1127 aneeded = size + align - vmp->vm_quantum; in vmem_xalloc()
1128 aneeded = P2ROUNDUP(aneeded, vmp->vm_quantum); in vmem_xalloc()
1221 vsp->vs_end = P2ROUNDUP(vsp->vs_end, vmp->vm_quantum); in vmem_xfree()
1292 return (vmem_xalloc(vmp, size, vmp->vm_quantum, 0, 0, in vmem_alloc()
1309 return (vmem_xalloc(vmp, size, vmp->vm_quantum, in vmem_alloc()
1488 vmp->vm_quantum = quantum; in vmem_create_common()