Home
last modified time | relevance | path

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

/linux-4.19.296/include/drm/
Dspsc_queue.h32 struct spsc_node { struct
35 struct spsc_node *next; argument
40 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()
Dgpu_scheduler.h185 struct spsc_node queue_node;