D | hlist.h | 49 #define __hlist_init(h) { &hlist_null } argument 52 static_inline void hlist_init(hlist_head_t * h); 65 static_inline void hlist_add(hlist_head_t * h, hlist_item_t * i); 73 static_inline void hlist_relink_head(hlist_head_t * h); 75 #define hlist_for_each(i, h) \ argument 76 for (i = (h)->next; i != &hlist_null; i = i->next) 78 #define hlist_for_each_safe(i, tmp, h) \ argument 79 for (i = (h)->next, tmp = i->next; \ 86 static_inline void hlist_init(hlist_head_t * h) in hlist_init() argument 88 assert(h); in hlist_init() [all …]
|