Lines Matching refs:queue
173 #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)->ikmq_base)
198 ipc_kmsg_queue_t queue,
201 #define ipc_kmsg_rmqueue_first_macro(queue, kmsg) \
205 assert((queue)->ikmq_base == (kmsg)); \
210 (queue)->ikmq_base = IKM_NULL; \
214 (queue)->ikmq_base = _next; \
223 #define ipc_kmsg_enqueue_macro(queue, kmsg) \
225 register ipc_kmsg_t _first = (queue)->ikmq_base; \
228 (queue)->ikmq_base = (kmsg); \