Lines Matching full:next
49 #define NEXT(skb) ((skb)->prev) macro
54 NEXT(STUB(queue)) = NULL; in wg_prev_queue_init()
59 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init()
67 WRITE_ONCE(NEXT(skb), NULL); in __wg_prev_queue_enqueue()
68 WRITE_ONCE(NEXT(xchg_release(&queue->head, skb)), skb); in __wg_prev_queue_enqueue()
81 struct sk_buff *tail = queue->tail, *next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue() local
84 if (!next) in wg_prev_queue_dequeue()
86 queue->tail = next; in wg_prev_queue_dequeue()
87 tail = next; in wg_prev_queue_dequeue()
88 next = smp_load_acquire(&NEXT(next)); in wg_prev_queue_dequeue()
90 if (next) { in wg_prev_queue_dequeue()
91 queue->tail = next; in wg_prev_queue_dequeue()
98 next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue()
99 if (next) { in wg_prev_queue_dequeue()
100 queue->tail = next; in wg_prev_queue_dequeue()
107 #undef NEXT