Lines Matching defs:options
108 int options = 0; // KMA_LOMEM;
110 page_size, 0, options);
281 IOOptionBits options,
287 return (initWithPhysicalMask(inTask, options, capacity, alignment, physicalMask));
293 IOOptionBits options,
310 _options = options;
324 // Grab IOMD bits from the Buffer MD options
325 iomdOptions |= (options & kIOBufferDescriptorMemoryFlags);
327 if (!(kIOMemoryMapperNone & options))
343 if ((options & (kIOMemorySharingTypeMask | kIOMapCacheMask | kIOMemoryClearEncrypt)) && (alignment < page_size))
350 options |= kIOMemoryPhysicallyContiguous;
354 if ((inTask != kernel_task) && !(options & kIOMemoryPageable))
373 switch (options & kIOMapCacheMask)
401 if (options & kIOMemoryPageable)
410 if (options & kIOMemoryPurgeable)
424 bool contig = (0 != (options & kIOMemoryHostPhysicallyContiguous));
426 if (!contig && (0 != (options & kIOMemoryPhysicallyContiguous)))
429 contig |= (0 != (kIOMemoryMapperNone & options));
469 if( (options & (kIOMemoryPageable | kIOMapCacheMask))) {
487 if( options & kIOMemoryPageable) {
495 else if (options & kIOMapCacheMask)
529 kIOMapAnywhere | (options & kIOMapCacheMask), 0, 0);
551 IOOptionBits options,
557 if (me && !me->initWithPhysicalMask(inTask, options, capacity, alignment, 0)) {
566 IOOptionBits options,
572 if (me && !me->initWithPhysicalMask(inTask, options, capacity, 1, physicalMask))
582 IOOptionBits options,
586 return (initWithPhysicalMask(kernel_task, options, capacity, alignment, (mach_vm_address_t)0));
591 IOOptionBits options,
597 if (me && !me->initWithPhysicalMask(kernel_task, options, capacity, alignment, 0)) {
697 IOOptionBits options = _options;
718 if (options & kIOMemoryPageable)