Home
last modified time | relevance | path

Searched refs:mpqh_head (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.140.41/osfmk/kern/
H A Dmpsc_queue.c47 mpsc_queue_chain_t head = os_atomic_load(&q->mpqh_head.mpqc_next, relaxed); in mpsc_queue_restore_batch()
52 !os_atomic_cmpxchg(&q->mpqh_tail, &q->mpqh_head, last, release)) { in mpsc_queue_restore_batch()
53 head = os_atomic_load(&q->mpqh_head.mpqc_next, relaxed); in mpsc_queue_restore_batch()
55 head = _mpsc_queue_wait_for_enqueuer(&q->mpqh_head.mpqc_next); in mpsc_queue_restore_batch()
60 os_atomic_store(&q->mpqh_head.mpqc_next, first, relaxed); in mpsc_queue_restore_batch()
72 if (__improbable(tail == &q->mpqh_head)) { in mpsc_queue_dequeue_batch()
77 head = os_atomic_load(&q->mpqh_head.mpqc_next, relaxed); in mpsc_queue_dequeue_batch()
79 head = _mpsc_queue_wait_for_enqueuer(&q->mpqh_head.mpqc_next); in mpsc_queue_dequeue_batch()
81 os_atomic_store(&q->mpqh_head.mpqc_next, NULL, relaxed); in mpsc_queue_dequeue_batch()
97 *tail_out = os_atomic_xchg(&q->mpqh_tail, &q->mpqh_head, seq_cst); in mpsc_queue_dequeue_batch()
H A Dmpsc_queue.h120 struct mpsc_queue_chain mpqh_head; member
137 #define MPSC_QUEUE_INITIALIZER(head) { .mpqh_tail = &(head).mpqh_head }
157 os_atomic_init(&q->mpqh_head.mpqc_next, NULL); in mpsc_queue_init()
158 os_atomic_init(&q->mpqh_tail, &q->mpqh_head); in mpsc_queue_init()
240 return &q->mpqh_head == prev; in __mpsc_queue_append_was_empty()
/xnu-8020.140.41/tools/lldbmacros/core/
H A Dkernelcore.py303 elt = root.mpqh_head.mpqc_next