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

/macosx-10.10/xnu-2782.1.97/iokit/IOKit/
H A DIODataQueueShared.h37 * @typedef IODataQueueEntry
46 } IODataQueueEntry; typedef in typeref:struct:_IODataQueueEntry
61 IODataQueueEntry queue[1];
77 * @defined DATA_QUEUE_ENTRY_HEADER_SIZE Represents the size of the data queue entry header independent of the actual size of the data in the entry. This is the overhead of each entry in the queue. The total size of an entry is equal to this value plus the size stored in the entry's size field (in IODataQueueEntry).
79 #define DATA_QUEUE_ENTRY_HEADER_SIZE (sizeof(IODataQueueEntry) - 4)
84 #define DATA_QUEUE_MEMORY_HEADER_SIZE (sizeof(IODataQueueMemory) - sizeof(IODataQueueEntry))
H A DIOSharedDataQueue.h42 typedef struct _IODataQueueEntry IODataQueueEntry; typedef in typeref:struct:_IODataQueueEntry
90 * @discussion The actual size of the entire data queue memory region (to be shared into a user process) is equal to the capacity plus the IODataQueueMemory overhead. This overhead value can be determined from the DATA_QUEUE_MEMORY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>. The size of the data queue memory region must include space for the overhead of each IODataQueueEntry. This entry overhead can be determined from the DATA_QUEUE_ENTRY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>.<br> This method allocates a new IODataQueue instance and then calls initWithCapacity() with the given size parameter. If the initWithCapacity() fails, the new instance is released and zero is returned.
99 * @discussion This method will create a new IOSharedDataQueue instance with enough capacity for numEntries of entrySize. It does account for the IODataQueueEntry overhead for each entry. Note that the numEntries and entrySize are simply used to determine the data region size. They do not actually restrict the size of number of entries that can be added to the queue.<br> This method allocates a new IODataQueue instance and then calls initWithEntries() with the given numEntries and entrySize parameters. If the initWithEntries() fails, the new instance is released and zero is returned.
109 * @discussion The actual size of the entire data queue memory region (to be shared into a user process) is equal to the capacity plus the IODataQueueMemory overhead. This overhead value can be determined from the DATA_QUEUE_MEMORY_HEADER_SIZE and DATA_QUEUE_MEMORY_APPENDIX_SIZE macro in <IOKit/IODataQueueShared.h>. The size of the data queue memory region must include space for the overhead of each IODataQueueEntry. This entry overhead can be determined from the DATA_QUEUE_ENTRY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>.
127 * @result Returns a pointer to the next IODataQueueEntry if one is available. 0 (NULL) is returned if the queue is empty.
129 virtual IODataQueueEntry * peek();
/macosx-10.10/IOKitUser-1050.1.21/
H A DIODataQueueClient.c42 IODataQueueEntry *IODataQueuePeek(IODataQueueMemory *dataQueue)
44 IODataQueueEntry *entry = 0;
47 IODataQueueEntry * head = 0;
52 head = (IODataQueueEntry *)((char *)dataQueue->queue + headOffset);
76 IODataQueueEntry * entry = 0;
82 IODataQueueEntry * head = 0;
87 head = (IODataQueueEntry *)((char *)dataQueue->queue + headOffset);
145 IODataQueueEntry * entry;
152 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
169 entry = (IODataQueueEntry *)((UInt
[all...]
H A DIODataQueueClient.h49 * @result Returns a pointer to the next IODataQueueEntry if one is available. Zero is returned if the queue is empty.
51 IODataQueueEntry *IODataQueuePeek(IODataQueueMemory *dataQueue);
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOSharedDataQueue.cpp146 IODataQueueEntry * IOSharedDataQueue::peek()
148 IODataQueueEntry *entry = 0;
151 IODataQueueEntry * head = 0;
160 head = (IODataQueueEntry *)((char *)dataQueue->queue + headOffset);
188 IODataQueueEntry * entry;
205 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
229 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize;
247 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
273 IODataQueueEntry * entry = 0;
279 IODataQueueEntry * hea
[all...]
H A DIODataQueue.cpp154 IODataQueueEntry * entry;
171 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
195 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize;
213 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDFamily/
H A DIOHIDEventServiceQueue.cpp71 IODataQueueEntry * entry;
80 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
105 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize;
126 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
H A DIOHIDResourceUserClient.cpp817 IODataQueueEntry * entry;
824 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
852 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize;
872 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail);
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDLib/
H A DIOHIDEventServiceClass.cpp260 IODataQueueEntry * nextEntry;
H A DIOHIDQueueClass.cpp530 IODataQueueEntry * nextEntry = IODataQueuePeek(fQueueMappedMemory);
/macosx-10.10/IOKitUser-1050.1.21/hid.subproj/
H A DIOHIDUserDevice.c510 IODataQueueEntry * nextEntry;

Completed in 90 milliseconds