Searched refs:queue (Results 1 - 25 of 164) sorted by relevance

1234567

/macosx-10.5.8/xnu-1228.15.4/bsd/man/man3/
H A DMakefile10 queue.3 \
24 queue.3 CIRCLEQ_ENTRY.3 \
25 queue.3 CIRCLEQ_HEAD.3 \
26 queue.3 CIRCLEQ_INIT.3 \
27 queue.3 CIRCLEQ_INSERT_AFTER.3 \
28 queue.3 CIRCLEQ_INSERT_BEFORE.3 \
29 queue.3 CIRCLEQ_INSERT_HEAD.3 \
30 queue.3 CIRCLEQ_INSERT_TAIL.3 \
31 queue.3 CIRCLEQ_REMOVE.3 \
32 queue
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dtimer_queue.h29 * Timer queue support routines.
39 #include <kern/queue.h>
45 /* Request an expiration deadline, returns queue association */
51 queue_t queue,
59 /* Process deadline expiration for queue, returns new deadline */
61 queue_t queue,
64 /* Shutdown a timer queue and reassign existing activities */
66 queue_t queue);
H A Dcall_entry.h36 #include <kern/queue.h>
45 queue_t queue; member in struct:call_entry
56 queue_t queue,
61 queue_t queue);
70 (entry)->queue = NULL; \
H A Dtimer_call.c70 queue_t queue,
73 queue_t old_queue = entry->queue;
76 if (old_queue != queue || entry->deadline < deadline) {
77 if (old_queue != queue)
78 current = TC(queue_first(queue));
86 if ( queue_end(queue, qe(current)) ||
104 if ( queue_end(queue, qe(current)) ||
115 entry->queue = queue;
124 queue_t queue)
68 call_entry_enqueue_deadline( call_entry_t entry, queue_t queue, uint64_t deadline) argument
122 call_entry_enqueue_tail( call_entry_t entry, queue_t queue) argument
157 queue_t queue, old_queue; local
181 queue_t queue, old_queue; local
225 timer_queue_shutdown( queue_t queue) argument
250 timer_queue_expire( queue_t queue, uint64_t deadline) argument
[all...]
H A Daffinity.h31 #include <kern/queue.h>
H A Dsync_sema.h47 #include <kern/queue.h>
53 struct wait_queue wait_queue; /* queue of blocked threads & lock */
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_purgeable.c40 token_idx_t token_free_idx = 0; /* head of free queue */
43 * be added onto token queue */
61 static token_idx_t vm_purgeable_token_remove_first(purgeable_q_t queue);
65 vm_purgeable_token_check_queue(purgeable_q_t queue) argument
68 token_idx_t token = queue->token_q_head;
74 assert(queue->token_q_unripe);
76 assert(token == queue->token_q_unripe);
82 assert(queue->token_q_tail == token);
89 assert(queue->token_q_unripe == unripe);
90 assert(token_cnt == queue
103 vm_purgeable_token_add(purgeable_q_t queue) argument
242 vm_purgeable_token_remove_first(purgeable_q_t queue) argument
296 vm_purgeable_token_delete_first(purgeable_q_t queue) argument
337 purgeable_q_t queue = &purgeable_queues[i]; local
395 vm_purgeable_token_remove_ripe(purgeable_q_t queue) argument
421 vm_purgeable_token_choose_and_delete_ripe(purgeable_q_t queue, purgeable_q_t queue2) argument
489 vm_purgeable_object_find_and_lock(purgeable_q_t queue, int group) argument
523 purgeable_q_t queue, queue2; local
591 vm_purgeable_object_add(vm_object_t object, purgeable_q_t queue, int group) argument
625 purgeable_q_t queue = &purgeable_queues[i]; local
[all...]
H A Dvm_purgeable_internal.h40 #include <kern/queue.h>
91 /* add a new token to queue. called by vm_object_purgeable_control */
92 /* enter with page queue locked */
93 kern_return_t vm_purgeable_token_add(purgeable_q_t queue);
95 /* enter with page queue locked */
96 void vm_purgeable_token_delete_first(purgeable_q_t queue);
100 * enter with page queue locked
107 /* insert purgeable object into queue */
108 void vm_purgeable_object_add(vm_object_t object, purgeable_q_t queue, int group);
110 /* look for object. If found, remove from purgeable queue
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dcallout.h73 #include <sys/queue.h>
H A Dfile.h71 #include <sys/queue.h>
75 #include <sys/queue.h>
93 short f_msgcount; /* references from message queue */
H A Dlockf.h66 #include <sys/queue.h>
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_kmsg.h173 #define ipc_kmsg_queue_init(queue) \
175 (queue)->ikmq_base = IKM_NULL; \
178 #define ipc_kmsg_queue_empty(queue) ((queue)->ikmq_base == IKM_NULL)
182 ipc_kmsg_queue_t queue,
187 ipc_kmsg_queue_t queue);
189 /* Pull a kmsg out of a queue */
191 ipc_kmsg_queue_t queue,
194 #define ipc_kmsg_queue_first(queue) ((queue)
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOCommand.h35 * 2001-01-18 gvdl Made the primary queue pointer public, to be used when
56 #include <kern/queue.h>
77 This variable is used by the current 'owner' to queue the command. During the life cycle of a command it moves through a series of queues. This is the queue pointer for it. Only valid while 'ownership' is clear. For instance a IOCommandPool uses this pointer to maintain its list of free commands. May be manipulated using the kern/queue.h macros */
78 queue_chain_t fCommandChain; /* used to queue commands */
H A DIODataQueueShared.h38 * @abstract Represents an entry within the data queue
50 * @abstract A struct mapping to the header region of a data queue.
51 * @discussion This struct is variable sized. The struct represents the data queue header information plus a pointer to the actual data queue itself. The size of the struct is the combined size of the header fields (3 * sizeof(UInt32)) plus the actual size of the queue region. This size is stored in the queueSize field.
52 * @field queueSize The size of the queue region pointed to by the queue field.
53 * @field head The location of the queue head. This field is represented as a byte offset from the beginning of the queue memory region.
54 * @field tail The location of the queue tai
61 IODataQueueEntry queue[1]; member in struct:_IODataQueueMemory
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/
H A Dchud_xnu_private.h32 #include <kern/queue.h>
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Diopb.h64 #include <kern/queue.h>
H A Detimer.c95 mytimer->deadline = timer_queue_expire(&mytimer->queue, abstime);
197 mytimer->deadline = timer_queue_expire(&mytimer->queue, abstime);
220 return (&timer->queue);
225 queue_t queue,
229 if (queue == &current_cpu_datap()->rtclock_timer.queue) {
224 timer_queue_cancel( queue_t queue, uint64_t deadline, uint64_t new_deadline) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Drtclock.h51 queue_head_t queue; member in struct:rtclock_timer_t
H A Detimer.c92 mytimer->deadline = timer_queue_expire(&mytimer->queue, abstime);
182 return (&timer->queue);
187 queue_t queue,
191 if (queue == &getPerProc()->rtclock_timer.queue) {
186 timer_queue_cancel( queue_t queue, uint64_t deadline, uint64_t new_deadline) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Ddlil_pvt.h34 #include <sys/queue.h>
H A Dmulticast_list.h32 #include <sys/queue.h>
H A Draw_cb.h67 #include <sys/queue.h>
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOCommandQueue.cpp82 queue = (void *)kalloc(size * sizeof(commandEntryT));
83 if (!queue)
119 if (queue)
120 kfree(queue, size * sizeof(commandEntryT));
141 commandEntryT *q = (commandEntryT *) queue;
166 Key method that enqueues the four input fields onto the command queue
188 /* Make sure there is room in the queue before doing anything else */
214 commandEntryT *q = (commandEntryT *) queue;
251 // now step over all remaining entries in the command queue
256 commandEntryT *q = (commandEntryT *) queue;
[all...]
H A DIOPMPowerStateQueue.h36 #include <kern/queue.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dkpi_ipfilter_var.h40 #include <sys/queue.h>

Completed in 194 milliseconds

1234567