Lines Matching refs:alignment
198 void * IOMallocAligned(vm_size_t size, vm_size_t alignment)
208 if (alignment == 0)
209 alignment = 1;
211 alignMask = alignment - 1;
324 IOKernelAllocateContiguous(mach_vm_size_t size, mach_vm_size_t alignment)
334 if (alignment == 0)
335 alignment = 1;
337 alignMask = alignment - 1;
400 void * IOMallocContiguous(vm_size_t size, vm_size_t alignment,
407 if (alignment == 0)
408 alignment = 1;
413 address = IOKernelAllocateContiguous(size, alignment);
421 alignMask = alignment - 1;
572 void * IOMallocPageable(vm_size_t size, vm_size_t alignment)
577 if (alignment > page_size)