Lines Matching refs:options
113 IOOptionBits options, in initWithOptions() argument
119 return initWithPhysicalMask(inTask, options, capacity, alignment, physicalMask); in initWithOptions()
126 IOOptionBits options, in withCopy() argument
160 if (!inst->initWithPhysicalMask(inTask, options, size, page_size, 0)) { in withCopy()
180 IOOptionBits options, in initWithPhysicalMask() argument
202 _options = options; in initWithPhysicalMask()
213 if (!(kIOMemoryPageable & options)) { in initWithPhysicalMask()
234 iomdOptions |= (options & kIOBufferDescriptorMemoryFlags); in initWithPhysicalMask()
236 if (!(kIOMemoryMapperNone & options)) { in initWithPhysicalMask()
250 …if ((options & (kIOMemorySharingTypeMask | kIOMapCacheMask | kIOMemoryClearEncrypt)) && (alignment… in initWithPhysicalMask()
261 options |= kIOMemoryPhysicallyContiguous; in initWithPhysicalMask()
270 if ((inTask != kernel_task) && !(options & kIOMemoryPageable)) { in initWithPhysicalMask()
287 iomdOptions |= ((options & kIOMapCacheMask) >> kIOMapCacheShift) << kIOMemoryBufferCacheShift; in initWithPhysicalMask()
288 if (options & kIOMemoryPageable) { in initWithPhysicalMask()
294 if (options & kIOMemoryPurgeable) { in initWithPhysicalMask()
304 bool contig = (0 != (options & kIOMemoryHostPhysicallyContiguous)); in initWithPhysicalMask()
306 if (!contig && (0 != (options & kIOMemoryPhysicallyContiguous))) { in initWithPhysicalMask()
308 contig |= (0 != (kIOMemoryMapperNone & options)); in initWithPhysicalMask()
315 mappedOrShared = (mapped || (0 != (kIOMemorySharingTypeMask & options))); in initWithPhysicalMask()
385 if ((options & (kIOMemoryPageable | kIOMapCacheMask))) { in initWithPhysicalMask()
393 if (options & kIOMemoryPageable) { in initWithPhysicalMask()
403 } else if (options & kIOMapCacheMask) { in initWithPhysicalMask()
426 if (!(options & kIOMemoryPageable)) { in initWithPhysicalMask()
445 kIOMapAnywhere | (options & kIOMapPrefault) | (options & kIOMapCacheMask), 0, 0).detach(); in initWithPhysicalMask()
468 IOOptionBits options, in initControlWithPhysicalMask() argument
474 return initWithPhysicalMask(inTask, options, capacity, alignment, in initControlWithPhysicalMask()
481 IOOptionBits options, in initWithGuardPages() argument
492 return initWithPhysicalMask(inTask, options, roundedCapacity, page_size, in initWithGuardPages()
499 IOOptionBits options, in inTaskWithOptions() argument
505 if (me && !me->initWithPhysicalMask(inTask, options, capacity, alignment, 0)) { in inTaskWithOptions()
514 IOOptionBits options, in inTaskWithOptions() argument
525 if (!me->initWithPhysicalMask(inTask, options, capacity, alignment, 0)) { in inTaskWithOptions()
535 IOOptionBits options, in inTaskWithPhysicalMask() argument
541 if (me && !me->initWithPhysicalMask(inTask, options, capacity, 1, physicalMask)) { in inTaskWithPhysicalMask()
550 IOOptionBits options, in inTaskWithGuardPages() argument
555 if (me && !me->initWithGuardPages(inTask, options, capacity)) { in inTaskWithGuardPages()
564 IOOptionBits options, in initWithOptions() argument
568 return initWithPhysicalMask(kernel_task, options, capacity, alignment, (mach_vm_address_t)0); in initWithOptions()
574 IOOptionBits options, in withOptions() argument
580 if (me && !me->initWithPhysicalMask(kernel_task, options, capacity, alignment, 0)) { in withOptions()
680 IOOptionBits options = _options; in free() local
703 if ((options & kIOMemoryPageable) in free()
715 if (!(options & kIOMemoryPageable) in free()
725 if (options & kIOMemoryPageable) { in free()