Lines Matching refs:member
137 #define list_entry(ptr, type, member) container_of(ptr, type, member) argument
147 #define list_first_entry(ptr, type, member) list_entry((ptr)->next, type, member) argument
157 #define list_first_entry_or_null(ptr, type, member) (!list_empty(ptr) ? list_entry((ptr)->next, typ… argument
167 #define list_last_entry(ptr, type, member) list_entry((ptr)->prev, type, member) argument
177 #define list_last_entry_or_full(ptr, type, member) (!list_empty(ptr) ? list_entry((ptr)->prev, type… argument
185 #define list_next_entry(pos, member) list_entry((pos)->member.next, typeof(*(pos)), member) argument
193 #define list_prev_entry(pos, member) list_entry((pos)->member.prev, typeof(*(pos)), member) argument
242 #define list_for_each_entry(pos, head, member) \ argument
243 for (pos = list_first_entry(head, typeof(*pos), member); \
244 &pos->member != (head); \
245 pos = list_next_entry(pos, member))
255 #define list_for_each_entry_safe(pos, n, head, member) \ argument
256 for (pos = list_first_entry(head, typeof(*pos), member), n = list_next_entry(pos, member); \
257 &pos->member != (head); \
258 pos = n, n = list_next_entry(n, member))
267 #define list_for_each_entry_reverse(pos, head, member) \ argument
268 for (pos = list_last_entry(head, typeof(*pos), member); \
269 &pos->member != (head); \
270 pos = list_prev_entry(pos, member))
279 #define list_prepare_entry(pos, head, member) \ argument
280 ((pos) ? pos : list_entry(head, typeof(*pos), member))
289 #define list_for_each_entry_continue(pos, head, member) \ argument
290 for (pos = list_next_entry(pos, member); \
291 &pos->member != (head); \
292 pos = list_next_entry(pos, member))
302 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
303 for (pos = list_next_entry(pos, member), n = list_next_entry(pos, member); \
304 &pos->member != (head); \
305 pos = n, n = list_next_entry(n, member))
314 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument
315 for (pos = list_prev_entry(pos, member); \
316 &pos->member != (head); \
317 pos = list_prev_entry(pos, member))
326 #define list_for_each_entry_safe_continue_reverse(pos, n, head, member) \ argument
327 for (pos = list_prev_entry(pos, member), n = list_prev_entry(pos, member); \
328 &pos->member != (head); \
329 pos = n, n = list_prev_entry(n, member))
338 #define list_for_each_entry_from(pos, head, member) \ argument
340 &pos->member != (head); \
341 pos = list_next_entry(pos, member))
351 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument
352 for (n = list_next_entry(pos, member); \
353 &pos->member != (head); \
354 pos = n, n = list_next_entry(n, member))