Lines Matching defs:next
35 struct spsc_node *next;
69 node->next = NULL;
73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next);
91 struct spsc_node *next, *node;
101 next = READ_ONCE(node->next);
102 WRITE_ONCE(queue->head, next);
104 if (unlikely(!next)) {
108 (long)&node->next, (long) &queue->head) != (long)&node->next) {
109 /* Updating tail failed wait for new next to appear */
112 } while (unlikely(!(queue->head = READ_ONCE(node->next))));