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

/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOSharedDataQueue.h32 #ifdef dequeue
33 #undef dequeue macro
43 * @discussion The IOSharedDataQueue class is designed to also allow a user process to queue data to kernel code. IOSharedDataQueue objects are designed to be used in a single producer / single consumer situation. As such, there are no locks on the data itself. Because the kernel enqueue and user-space dequeue methods follow a strict set of guidelines, no locks are necessary to maintain the integrity of the data struct.
104 * @discussion This function can be used to look at the next entry which allows the entry to be received without having to copy it with dequeue. In order to do this, call peek to get the entry. Then call dequeue with a NULL data pointer. That will cause the head to be moved to the next entry, but no memory to be copied.
110 * @function dequeue
112 * @discussion This function will dequeue the next available entry on the queue. If a data pointer is provided, it will copy the data into the memory region if there is enough space available as specified in the dataSize parameter. If no data pointer is provided, it will simply move the head value past the current entry.
117 virtual Boolean dequeue(void *data, UInt32 *dataSize);
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOSharedDataQueue.cpp34 #ifdef dequeue
35 #undef dequeue macro
147 Boolean IOSharedDataQueue::dequeue(void *data, UInt32 *dataSize) function in class:IOSharedDataQueue
H A DIODataQueue.cpp38 #ifdef dequeue
39 #undef dequeue macro
H A DIOService.cpp1509 while ( queue_entry_t entry = dequeue(&notifyHead->fCommandChain) ) {
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dhost_notify.c174 while ((entry = (host_notify_t)dequeue(&send_queue)) != NULL) {
H A Dwait_queue.c673 wql = (wait_queue_link_t) dequeue(links);
790 wql = (wait_queue_link_t) dequeue(links);
1089 thread_t thread = (thread_t) dequeue(q);
H A Dqueue.h108 * dequeue returns the first element in the "queue".
113 #define dequeue(queue) dequeue_head(queue) macro
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_vm.s195 ; here so that we will know the previous elements so we can dequeue them
587 ; here so that we will know the previous elements so we can dequeue them
1905 ; here so that we will know the previous elements so we can dequeue them

Completed in 70 milliseconds