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

/darwin-on-arm/xnu/iokit/IOKit/
H A DIODataQueue.h47 * @discussion The IODataQueue class is designed to allow kernel code to queue data to a user process. IODataQueue 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.
115 * @function enqueue
122 virtual Boolean enqueue(void *data, UInt32 dataSize);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIODataQueue.cpp34 #ifdef enqueue
35 #undef enqueue macro
116 Boolean IODataQueue::enqueue(void * data, UInt32 dataSize) function in class:IODataQueue
184 if ( ( head == tail ) /* queue was empty prior to enqueue() */
185 || ( dataQueue->head == tail ) ) /* queue was emptied during enqueue() */
H A DIOService.cpp1544 enqueue(&notifyList->fCommandChain, &notify->chain);
/darwin-on-arm/xnu/bsd/net/altq/
H A Daltq_subr.c118 altq_enq_func enqueue, altq_deq_func dequeue,
126 VERIFY(enqueue != NULL);
132 altq->altq_enqueue = enqueue;
117 altq_attach(struct ifaltq *altq, u_int32_t type, void *discipline, altq_enq_func enqueue, altq_deq_func dequeue, altq_deq_sc_func dequeue_sc, altq_req_func request) argument
/darwin-on-arm/xnu/osfmk/kern/
H A Dwait_queue.c853 enqueue(links, &wql->wql_links);
893 * sets and enqueue the allocated ones onto the links queue
927 enqueue(links, &wql->wql_links);
1021 enqueue(links, &wql->wql_links);
1085 enqueue(links, &wql->wql_links);
1356 enqueue (wake_queue, (queue_entry_t) t);
H A Dqueue.h107 * enqueue puts "elt" on the "queue".
112 #define enqueue(queue,elt) enqueue_tail(queue, elt) macro
H A Dsync_lock.c65 enqueue (&th->held_ulocks, (queue_entry_t) (ul)); \
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_subr.c460 ifclassq_enq_func enqueue, ifclassq_deq_func dequeue,
466 VERIFY(enqueue != NULL);
472 ifq->ifcq_enqueue = enqueue;
459 ifclassq_attach(struct ifclassq *ifq, u_int32_t type, void *discipline, ifclassq_enq_func enqueue, ifclassq_deq_func dequeue, ifclassq_deq_sc_func dequeue_sc, ifclassq_req_func request) argument

Completed in 60 milliseconds