Lines Matching refs:next
32 hlist_item_t * next; member
37 hlist_item_t * next; member
50 #define __hlist_init_item(i) { &hlist_null, &(i).next }
76 for (i = (h)->next; i != &hlist_null; i = i->next)
79 for (i = (h)->next, tmp = i->next; \
81 i = tmp, tmp = i->next)
89 h->next = &hlist_null; in hlist_init()
95 i->prev = &i->next; in hlist_init_item()
96 i->next = &hlist_null; in hlist_init_item()
101 hlist_item_t * next; in hlist_add() local
104 next = i->next = h->next; in hlist_add()
105 next->prev = &i->next; in hlist_add()
106 h->next = i; in hlist_add()
107 i->prev = &h->next; in hlist_add()
112 hlist_item_t * next; in hlist_del() local
115 next = i->next; in hlist_del()
116 next->prev = i->prev; in hlist_del()
117 *i->prev = next; in hlist_del()
126 i->next->prev = &i->next; in hlist_relink()
132 h->next->prev = &h->next; in hlist_relink_head()