Lines Matching defs:node
21 static inline void wq_list_add_after(struct io_wq_work_node *node,
27 pos->next = node;
28 node->next = next;
30 list->last = node;
33 static inline void wq_list_add_tail(struct io_wq_work_node *node,
36 node->next = NULL;
38 list->last = node;
39 WRITE_ONCE(list->first, node);
41 list->last->next = node;
42 list->last = node;
46 static inline void wq_list_add_head(struct io_wq_work_node *node,
49 node->next = list->first;
50 if (!node->next)
51 list->last = node;
52 WRITE_ONCE(list->first, node);
70 static inline void wq_stack_add_head(struct io_wq_work_node *node,
73 node->next = stack->next;
74 stack->next = node;
78 struct io_wq_work_node *node,
81 wq_list_cut(list, node, prev);
87 struct io_wq_work_node *node = stack->next;
89 stack->next = node->next;
90 return node;