Home
last modified time | relevance | path

Searched refs:mpqh_tail (Results 1 – 2 of 2) sorted by relevance

/xnu-10063.141.1/osfmk/kern/
H A Dmpsc_queue.h122 struct mpsc_queue_chain *volatile mpqh_tail; member
124 struct mpsc_queue_chain *_Atomic mpqh_tail; member
137 #define MPSC_QUEUE_INITIALIZER(head) { .mpqh_tail = &(head).mpqh_head }
158 os_atomic_init(&q->mpqh_tail, &q->mpqh_head); in mpsc_queue_init()
218 return os_atomic_xchg(&q->mpqh_tail, elm, release); in __mpsc_queue_append_update_tail()
H A Dmpsc_queue.c67 !os_atomic_cmpxchg(&q->mpqh_tail, &q->mpqh_head, last, release)) { in mpsc_queue_restore_batch()
86 tail = os_atomic_load(&q->mpqh_tail, relaxed); in mpsc_queue_dequeue_batch()
112 *tail_out = os_atomic_xchg(&q->mpqh_tail, &q->mpqh_head, seq_cst); in mpsc_queue_dequeue_batch()