Go to the source code of this file.
|
#define | list_entry(link, type, member) ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member))) |
|
#define | list_head(list, type, member) list_entry((list)->next, type, member) |
|
#define | list_tail(list, type, member) list_entry((list)->prev, type, member) |
|
#define | list_next(elm, member) list_entry((elm)->member.next, typeof(*elm), member) |
|
#define | list_for_each_entry(pos, list, member) |
|
#define list_for_each_entry |
( |
|
pos, |
|
|
|
list, |
|
|
|
member |
|
) |
| |
Value:
Definition at line 58 of file list.h.