Lines Matching refs:first
253 struct list_head *first = list->next; in __list_splice() local
256 first->prev = prev; in __list_splice()
257 prev->next = first; in __list_splice()
558 struct hlist_node *first; member
565 #define HLIST_HEAD_INIT { .first = NULL }
566 #define HLIST_HEAD(name) struct hlist_head name = { .first = NULL }
567 #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL)
581 return !h->first; in hlist_empty()
610 struct hlist_node *first = h->first; in hlist_add_head() local
611 n->next = first; in hlist_add_head()
612 if (first) in hlist_add_head()
613 first->pprev = &n->next; in hlist_add_head()
614 h->first = n; in hlist_add_head()
615 n->pprev = &h->first; in hlist_add_head()
642 for (pos = (head)->first; pos && ({ prefetch(pos->next); 1; }); \
646 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \
661 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
692 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\