Lines Matching refs:first
7 for (pos = (head)->first, prv = NULL; pos; prv = pos, pos = (pos)->next)
12 #define wq_list_empty(list) (READ_ONCE((list)->first) == NULL)
15 (list)->first = NULL; \
41 if (!list0->first) { in wq_list_merge()
42 ret = list1->first; in wq_list_merge()
44 ret = list0->first; in wq_list_merge()
45 list0->last->next = list1->first; in wq_list_merge()
56 if (!list->first) { in wq_list_add_tail()
58 WRITE_ONCE(list->first, node); in wq_list_add_tail()
68 node->next = list->first; in wq_list_add_head()
71 WRITE_ONCE(list->first, node); in wq_list_add_head()
80 WRITE_ONCE(list->first, last->next); in wq_list_cut()
93 to->next = list->first; in __wq_list_splice()