Searched refs:spsc_node (Results 1 – 2 of 2) sorted by relevance
32 struct spsc_node { struct35 struct spsc_node *next; argument40 struct spsc_node *head;55 static inline struct spsc_node *spsc_queue_peek(struct spsc_queue *queue) in spsc_queue_peek()65 static inline bool spsc_queue_push(struct spsc_queue *queue, struct spsc_node *node) in spsc_queue_push()67 struct spsc_node **tail; in spsc_queue_push()73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push()89 static inline struct spsc_node *spsc_queue_pop(struct spsc_queue *queue) in spsc_queue_pop()91 struct spsc_node *next, *node; in spsc_queue_pop()
296 struct spsc_node queue_node;