Lines Matching refs:mapper
1789 IOMapper * mapper) in withOptions() argument
1794 && !self->initWithOptions(buffers, count, offset, task, opts, mapper)) { in withOptions()
1807 IOMapper * mapper) in initWithOptions() argument
1981 IOMapper * mapper) in initWithOptions() argument
2016 mapper = dataP->fMapper; in initWithOptions()
2100 mapper = NULL; // No Mapper in initWithOptions()
2101 } else if (mapper == kIOMapperSystem) { in initWithOptions()
2103 gIOSystemMapper = mapper = IOMapper::gSystem; in initWithOptions()
2133 if (!initMemoryEntries(dataSize, mapper)) { in initWithOptions()
2316 if (!initMemoryEntries(dataSize, mapper)) { in initWithOptions()
3352 IOMapper * mapper = gIOSystemMapper; in getPhysicalSegment() local
3424 if (mapper && ((kIOMemoryTypePhysical == type) || (kIOMemoryTypePhysical64 == type))) { in getPhysicalSegment()
3429 address = mapper->mapToPhysicalAddress(origAddr); in getPhysicalSegment()
3432 && ((address + length) == mapper->mapToPhysicalAddress(origAddr + length))) { in getPhysicalSegment()
3506 IOMapper * mapper = NULL; in getPhysicalSegment64() local
3514 mapper = gIOSystemMapper; in getPhysicalSegment64()
3517 if (mapper) { in getPhysicalSegment64()
3520 phys64 = mapper->mapToPhysicalAddress(phys32); in getPhysicalSegment64()
3524 && ((phys64 + length) == mapper->mapToPhysicalAddress(phys32 + length))) { in getPhysicalSegment64()
4127 IOMapper *mapper; in wireVirtual() local
4129 mapper = dataP->fMapper; in wireVirtual()
4139 if (!mapper) { in wireVirtual()
4226 if (mapper) { in wireVirtual()
4387 if (mapper) { in wireVirtual()
4442 IOGeneralMemoryDescriptor::initMemoryEntries(size_t size, IOMapper * mapper) in initMemoryEntries() argument
4461 if (mapper == kIOMapperWaitSystem) { in initMemoryEntries()
4463 mapper = IOMapper::gSystem; in initMemoryEntries()
4465 dataP->fMapper = mapper; in initMemoryEntries()
4479 IOMapper * mapper, in dmaMap() argument
4497 err = mapper->iovmMapMemory(memory, offset, length, mapOptions, in dmaMap()
4501 dmaMapRecord(mapper, command, *mapLength); in dmaMap()
4509 IOMapper * mapper, in dmaMapRecord() argument
4517 if ((alloc = mapper->fAllocName) /* && mapper != IOMapper::gSystem */) { in dmaMapRecord()
4518 kern_allocation_update_size(mapper->fAllocName, mapLength, NULL); in dmaMapRecord()
4538 IOMapper * mapper, in dmaUnmap() argument
4566 ret = mapper->iovmUnmapMemory(this, command, mapAddress, mapLength); in dmaUnmap()
4568 if ((alloc = mapper->fAllocName)) { in dmaUnmap()
4582 IOMapper * mapper, in dmaMap() argument
4605 err = super::dmaMap(mapper, memory, command, mapSpec, offset, length, mapAddress, mapLength); in dmaMap()
4643 err = mapper->iovmMapMemory(memory, offset, length, mapOptions, &mapSpec, in dmaMap()
4647 dmaMapRecord(mapper, command, *mapLength); in dmaMap()