Lines Matching refs:alignment
103 vm_offset_t alignment,
107 return (initWithPhysicalMask(inTask, options, capacity, alignment, physicalMask));
114 mach_vm_address_t alignment,
139 if ((options & (kIOMemorySharingTypeMask | kIOMapCacheMask)) && (alignment < page_size))
140 alignment = page_size;
142 if (physicalMask && (alignment <= 1))
143 alignment = ((physicalMask ^ PAGE_MASK) & PAGE_MASK) + 1;
145 _alignment = alignment;
228 _buffer = (void *) IOKernelAllocateContiguous(capacity, alignment);
229 else if (alignment > 1)
230 _buffer = IOMallocAligned(capacity, alignment);
351 vm_offset_t alignment)
355 if (me && !me->initWithOptions(options, capacity, alignment, inTask)) {
362 if (me && !me->initWithOptions(options, capacity, alignment, inTask))
401 vm_offset_t alignment)
403 return( initWithOptions(options, capacity, alignment, kernel_task) );
409 vm_offset_t alignment)
411 return(IOBufferMemoryDescriptor::inTaskWithOptions(kernel_task, options, capacity, alignment));
506 vm_offset_t alignment = _alignment;
531 else if (alignment > 1)