Lines Matching refs:first
18 head->first = NULL; in pcpu_freelist_init()
21 s->extralist.first = NULL; in pcpu_freelist_init()
33 node->next = head->first; in pcpu_freelist_push_node()
34 WRITE_ONCE(head->first, node); in pcpu_freelist_push_node()
129 if (!READ_ONCE(head->first)) in ___pcpu_freelist_pop()
132 node = head->first; in ___pcpu_freelist_pop()
134 WRITE_ONCE(head->first, node->next); in ___pcpu_freelist_pop()
142 if (!READ_ONCE(s->extralist.first)) in ___pcpu_freelist_pop()
145 node = s->extralist.first; in ___pcpu_freelist_pop()
147 WRITE_ONCE(s->extralist.first, node->next); in ___pcpu_freelist_pop()
161 if (!READ_ONCE(head->first)) in ___pcpu_freelist_pop_nmi()
164 node = head->first; in ___pcpu_freelist_pop_nmi()
166 WRITE_ONCE(head->first, node->next); in ___pcpu_freelist_pop_nmi()
175 if (!READ_ONCE(s->extralist.first) || !raw_spin_trylock(&s->extralist.lock)) in ___pcpu_freelist_pop_nmi()
177 node = s->extralist.first; in ___pcpu_freelist_pop_nmi()
179 WRITE_ONCE(s->extralist.first, node->next); in ___pcpu_freelist_pop_nmi()