Home
last modified time | relevance | path

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

/linux/include/drm/
H A Dspsc_queue.h32 struct spsc_node { struct
34 /* Stores spsc_node* */
35 struct spsc_node *next; argument
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) 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()
76 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push()
91 static inline struct spsc_node *spsc_queue_po
[all...]
H A Dgpu_scheduler.h366 struct spsc_node queue_node;
/linux/drivers/gpu/drm/scheduler/
H A Dsched_internal.h48 struct spsc_node *node; in drm_sched_entity_queue_pop()
69 struct spsc_node *node; in drm_sched_entity_queue_peek()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_job.c425 struct spsc_node *node; in drm_sched_entity_queue_pop()