Lines Matching refs:member

252 #define container_of(ptr, type, member) ({			\  argument
253 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
254 (type *)( (char *)__mptr - offsetof(type,member) );})
263 #define list_entry(ptr, type, member) \ argument
264 container_of(ptr, type, member)
300 #define list_for_each_entry(pos, head, member) \ argument
301 for (pos = list_entry((head)->next, typeof(*pos), member); \
302 &pos->member != (head); \
303 pos = list_entry(pos->member.next, typeof(*pos), member))
311 #define list_for_each_entry_reverse(pos, head, member) \ argument
312 for (pos = list_entry((head)->prev, typeof(*pos), member); \
313 &pos->member != (head); \
314 pos = list_entry(pos->member.prev, typeof(*pos), member))
323 #define list_prepare_entry(pos, head, member) \ argument
324 ((pos) ? : list_entry(head, typeof(*pos), member))
333 #define list_for_each_entry_continue(pos, head, member) \ argument
334 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
335 &pos->member != (head); \
336 pos = list_entry(pos->member.next, typeof(*pos), member))
345 #define list_for_each_entry_safe(pos, n, head, member) \ argument
346 for (pos = list_entry((head)->next, typeof(*pos), member), \
347 n = list_entry(pos->member.next, typeof(*pos), member); \
348 &pos->member != (head); \
349 pos = n, n = list_entry(n->member.next, typeof(*n), member))
359 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
360 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
361 n = list_entry(pos->member.next, typeof(*pos), member); \
362 &pos->member != (head); \
363 pos = n, n = list_entry(n->member.next, typeof(*n), member))
373 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument
374 for (pos = list_entry((head)->prev, typeof(*pos), member), \
375 n = list_entry(pos->member.prev, typeof(*pos), member); \
376 &pos->member != (head); \
377 pos = n, n = list_entry(n->member.prev, typeof(*n), member))