Lines Matching refs:next
7 for (pos = (head)->first; pos; pos = (pos)->next)
10 for (pos = (head)->first, prv = NULL; pos; prv = pos, pos = (pos)->next)
13 for (; pos; prv = pos, pos = (pos)->next)
25 struct io_wq_work_node *next = pos->next;
27 pos->next = node;
28 node->next = next;
29 if (!next)
36 node->next = NULL;
41 list->last->next = node;
49 node->next = list->first;
50 if (!node->next)
61 WRITE_ONCE(list->first, last->next);
63 prev->next = last->next;
67 last->next = NULL;
73 list->last->next = to->next;
74 to->next = list->first;
91 node->next = stack->next;
92 stack->next = node;
105 struct io_wq_work_node *node = stack->next;
107 stack->next = node->next;
113 if (!work->list.next)
116 return container_of(work->list.next, struct io_wq_work, list);