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

/xnu-2782.1.97/tools/lldbmacros/
H A Datm.py19 def GetATMTaskDescriptorSummary(descriptor):
21 params: descriptor - value object of type atm_task_descriptor_t
26 if unsigned(descriptor.flags) & 0x1:
28 out_string = format_str.format(descriptor, descriptor.trace_buffer, descriptor.trace_buffer_size, descriptor.reference_count, descriptor.mailbox_kernel_addr, descriptor.mailbox_array_size, flags_str)
31 if hasattr(descriptor, 'tas
[all...]
/xnu-2782.1.97/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-2782.1.97/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.cpp270 IOMemoryDescriptor *descriptor = 0; local
273 descriptor = IOMemoryDescriptor::withAddress(dataQueue, dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE, kIODirectionOutIn);
276 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-2782.1.97/tools/tests/libMicro/apple/
H A Dlb_mmtest.c129 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1229
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-2782.1.97/osfmk/atm/
H A Datm_internal.h43 /* Flags for atm task descriptor */
88 atm_task_descriptor_t descriptor; member in struct:atm_link_object
H A Datm.c602 if (!need_swap_first && requesting_descriptor == link_object->descriptor){
608 sizes_array[i] = link_object->descriptor->trace_buffer_size;
609 mem_array[i] = ipc_port_copy_send(link_object->descriptor->trace_buffer);
922 new_link_object->descriptor = task_descriptor;
927 /* Get a reference on the task descriptor */
933 if (next->descriptor == task_descriptor) {
945 /* Drop the extra reference on task descriptor taken by this function. */
1007 if (elem->descriptor == task_descriptor) {
1040 * Purpose: Allocate an atm task descriptor and initialize it and takes a reference.
1041 * Returns: atm task descriptor
[all...]
/xnu-2782.1.97/tools/tests/MPMMTest/
H A DMPMMtest.c37 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1209
392 (vm_address_t)((ipc_complex_message *)args.req_msg)->descriptor.address,
393 ((ipc_complex_message *)args.req_msg)->descriptor.size);
556 ((ipc_complex_message *)req)->descriptor.address = ints;
557 ((ipc_complex_message *)req)->descriptor.size =
559 ((ipc_complex_message *)req)->descriptor.deallocate = FALSE;
560 ((ipc_complex_message *)req)->descriptor.copy = MACH_MSG_VIRTUAL_COPY;
561 ((ipc_complex_message *)req)->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
H A DKQMPMMtest.c39 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1204
444 (vm_address_t)((ipc_complex_message *)args.req_msg)->descriptor.address,
445 ((ipc_complex_message *)args.req_msg)->descriptor.size);
609 ((ipc_complex_message *)req)->descriptor.address = ints;
610 ((ipc_complex_message *)req)->descriptor.size =
612 ((ipc_complex_message *)req)->descriptor.deallocate = FALSE;
613 ((ipc_complex_message *)req)->descriptor.copy = MACH_MSG_VIRTUAL_COPY;
614 ((ipc_complex_message *)req)->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;

Completed in 58 milliseconds