Lines Matching refs:spsc_node
32 struct spsc_node {
34 /* Stores spsc_node* */
35 struct spsc_node *next;
40 struct spsc_node *head;
42 /* atomic pointer to struct spsc_node* */
55 static inline struct spsc_node *spsc_queue_peek(struct spsc_queue *queue)
65 static inline bool spsc_queue_push(struct spsc_queue *queue, struct spsc_node *node)
67 struct spsc_node **tail;
76 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next);
91 static inline struct spsc_node *spsc_queue_pop(struct spsc_queue *queue)
93 struct spsc_node *next, *node;