Searched refs:mapping (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/iokit/Kernel/
H A DIOSubMemoryDescriptor.cpp171 IOMemoryMap * mapping = 0; local
180 mapping = (IOMemoryMap *) _parent->makeMapping(
186 return( mapping );
H A DIOMemoryDescriptor.cpp2559 IOMemoryMap * mapping = (IOMemoryMap *) *__address;
2560 mach_vm_size_t offset = mapping->fOffset + __offset;
2561 mach_vm_size_t length = mapping->fLength;
2578 // mapping source == dest? (could be much better)
2580 && (mapping->fAddressMap == get_task_map(_task)) && (options & kIOMapAnywhere)
2584 mapping->fAddress = range0Addr;
2585 mapping->fOptions |= kIOMapStatic;
2641 address = trunc_page_64(mapping->fAddress);
2643 if ((options & kIOMapAnywhere) || ((mapping->fAddress - address) == pageOffset))
2645 vm_map_t map = mapping
[all...]
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOMemoryDescriptor.h150 @discussion The IOMemoryDescriptor object represents a buffer or range of memory, specified as one or more physical or virtual address ranges. It contains methods to return the memory's physically contiguous segments (fragments), for use with the IOMemoryCursor, and methods to map the memory into any address space with caching and placed mapping options. */
222 @discussion This method performs some operation on a range of the memory descriptor's memory. When a memory descriptor's memory is not mapped, it should be more efficient to use this method than mapping the memory to perform the operation virtually.
541 @discussion This is the general purpose method to map all or part of the memory described by a memory descriptor into a task at any available address, or at a fixed address if possible. Caching & read-only options may be set for the mapping. The mapping is represented as a returned reference to a IOMemoryMap object, which may be shared if the mapping is compatible with an existing mapping of the IOMemoryDescriptor. The IOMemoryMap object returned should be released only when the caller has finished accessing the mapping, as freeing the object destroys the mapping.
542 @param intoTask Sets the target task for the mapping. Pass kernel_task for the kernel address space.
543 @param atAddress If a placed mapping i
[all...]

Completed in 27 milliseconds