Lines Matching refs:member
159 #define hlist_entry(ptr, type, member) container_of(ptr, type, member) argument
168 #define hlist_entry_safe(ptr, type, member) \ argument
170 ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
173 #define hlist_for_each_entry(pos, head, member) do { \ argument
174 for ((pos) = hlist_entry_safe((head)->first, typeof(*(pos)), member); \
176 (pos) = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) \
179 #define hlist_for_each_entry_continue(pos, member) do { \ argument
180 for ((pos) = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member); \
182 (pos) = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) \
185 #define hlist_for_each_entry_from(pos, member) \ argument
187 (pos) = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
189 #define hlist_for_each_entry_safe(pos, n, head, member) do { \ argument
190 for ((pos) = hlist_entry_safe((head)->first, typeof(*(pos)), member); \
191 (pos) && ( { n = (pos)->member.next; 1; }); \
192 (pos) = hlist_entry_safe(n, typeof(*(pos)), member)) \
297 #define hash_for_each(name, bkt, obj, member) \ argument
300 hlist_for_each_entry((obj), &(name)[bkt], member)
311 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument
314 hlist_for_each_entry_safe((obj), tmp, &(name)[bkt], member)
316 #define hash_for_each_possible(name, obj, member, key) \ argument
317 hlist_for_each_entry((obj), &(name)[hash_min(key, HASH_BITS(name))], member)