Lines Matching refs:ref
283 IOMemoryDescriptorMapAllocRef ref; in doMap() local
298 ref.map = map; in doMap()
299 ref.tag = IOMemoryTag(map); in doMap()
300 ref.options = options; in doMap()
301 ref.size = length; in doMap()
302 ref.prot = prot; in doMap()
305 ref.mapped = 0; in doMap()
307 ref.mapped = mapping->fAddress; in doMap()
310 if ((ref.map == kernel_map) && (kIOMemoryBufferPageable & _flags)) { in doMap()
311 err = IOIteratePageableMaps(ref.size, &IOMemoryDescriptorMapAlloc, &ref); in doMap()
313 err = IOMemoryDescriptorMapAlloc(ref.map, &ref); in doMap()
320 address = ref.mapped; in doMap()