Searched refs:descriptor (Results 1 - 8 of 8) sorted by relevance

/xnu-2422.115.4/iokit/IOKit/
H A DIOMemoryCursor.h42 specific memory cursors must inherit from, but a memory cursor can be created without a specific format subclass by just providing a segment function to the initializers. This class does the difficult stuff of dividing a memory descriptor into a physical scatter/gather list appropriate for the target hardware.
136 @abstract Generates a physical scatter/gather list given a memory descriptor.
137 @discussion Generates a list of physical segments from the given memory descriptor, relative to the current position of the descriptor.
138 @param descriptor IOMemoryDescriptor that describes the data associated with an I/O request.
139 @param fromPosition Starting location of the I/O within a memory descriptor.
144 @result If the descriptor is exhausted of memory, a zero is returned, otherwise the number of segments that were filled in is returned.
147 IOMemoryDescriptor *descriptor,
209 @abstract Generates a CPU natural physical scatter/gather list given a memory descriptor.
210 @discussion Generates a list of physical segments from the given memory descriptor, relativ
219 getPhysicalSegments(IOMemoryDescriptor *descriptor, IOByteCount fromPosition, PhysicalSegment *segments, UInt32 maxSegments, UInt32 inMaxTransferSize = 0, IOByteCount *transferSize = 0) argument
295 getPhysicalSegments(IOMemoryDescriptor * descriptor, IOByteCount fromPosition, PhysicalSegment * segments, UInt32 maxSegments, UInt32 inMaxTransferSize = 0, IOByteCount * transferSize = 0) argument
369 getPhysicalSegments(IOMemoryDescriptor * descriptor, IOByteCount fromPosition, PhysicalSegment * segments, UInt32 maxSegments, UInt32 inMaxTransferSize = 0, IOByteCount * transferSize = 0) argument
[all...]
H A DIOInterleavedMemoryDescriptor.h59 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
69 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
78 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures. */
85 @param descriptor An IOMemoryDescriptor to be added to the IOInterleavedMemoryDescriptor. Its direction must be compatible with that of the IOInterleavedMemoryDescriptor.
90 virtual bool setMemoryDescriptor( IOMemoryDescriptor * descriptor,
95 @abstract Break a memory descriptor into its physically contiguous segments.
108 @param forDirection The direction of the I/O to be performed, or kIODirectionNone for the direction specified by the memory descriptor.
116 @param forDirection The direction of the I/O just completed, or kIODirectionNone for the direction specified by the memory descriptor.
/xnu-2422.115.4/iokit/Kernel/
H A DIOInterleavedMemoryDescriptor.cpp42 // a single memory descriptor.
65 // a single memory descriptor.
127 IOMemoryDescriptor * descriptor,
134 if ( (offset + length) > descriptor->getLength() )
137 // if ( descriptor->getDirection() != getDirection() )
140 descriptor->retain();
141 _descriptors[_descriptorCount] = descriptor;
126 setMemoryDescriptor( IOMemoryDescriptor * descriptor, IOByteCount offset, IOByteCount length ) argument
H A DIODataQueue.cpp260 IOMemoryDescriptor *descriptor = 0; local
263 descriptor = IOMemoryDescriptor::withAddress(dataQueue, dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE, kIODirectionOutIn);
266 return descriptor;
H A DIOSharedDataQueue.cpp136 IOMemoryDescriptor *descriptor = 0; local
139 descriptor = IOMemoryDescriptor::withAddress(dataQueue, getQueueSize() + DATA_QUEUE_MEMORY_HEADER_SIZE + DATA_QUEUE_MEMORY_APPENDIX_SIZE, kIODirectionOutIn);
142 return descriptor;
/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dlb_mmtest.c129 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1205
189 (vm_address_t)complex_request->descriptor.address,
190 complex_request->descriptor.size);
264 complexmsg->descriptor.address = ts->ints;
265 complexmsg->descriptor.size = ts->num_ints * sizeof(u_int32_t);
266 complexmsg->descriptor.deallocate = FALSE;
267 complexmsg->descriptor.copy = MACH_MSG_VIRTUAL_COPY;
268 complexmsg->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
/xnu-2422.115.4/tools/tests/MPMMTest/
H A DMPMMtest.c39 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1185
396 (vm_address_t)((ipc_complex_message *)args.req_msg)->descriptor.address,
397 ((ipc_complex_message *)args.req_msg)->descriptor.size);
560 ((ipc_complex_message *)req)->descriptor.address = ints;
561 ((ipc_complex_message *)req)->descriptor.size =
563 ((ipc_complex_message *)req)->descriptor.deallocate = FALSE;
564 ((ipc_complex_message *)req)->descriptor.copy = MACH_MSG_VIRTUAL_COPY;
565 ((ipc_complex_message *)req)->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
H A DKQMPMMtest.c41 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1180
448 (vm_address_t)((ipc_complex_message *)args.req_msg)->descriptor.address,
449 ((ipc_complex_message *)args.req_msg)->descriptor.size);
613 ((ipc_complex_message *)req)->descriptor.address = ints;
614 ((ipc_complex_message *)req)->descriptor.size =
616 ((ipc_complex_message *)req)->descriptor.deallocate = FALSE;
617 ((ipc_complex_message *)req)->descriptor.copy = MACH_MSG_VIRTUAL_COPY;
618 ((ipc_complex_message *)req)->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;

Completed in 48 milliseconds