Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | hlist_nulls_head |
struct | hlist_nulls_node |
Macros | |
#define | INIT_HLIST_NULLS_HEAD(ptr, nulls) ((ptr)->first = (struct hlist_nulls_node *) (1UL | (((long)nulls) << 1))) |
#define | hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) |
#define | hlist_nulls_for_each_entry(tpos, pos, head, member) |
#define | hlist_nulls_for_each_entry_from(tpos, pos, member) |
#define hlist_nulls_entry | ( | ptr, | |
type, | |||
member | |||
) | container_of(ptr,type,member) |
Definition at line 27 of file list_nulls.h.
hlist_nulls_for_each_entry - iterate over list of given type : the type * to use as a loop cursor. : the &struct hlist_node to use as a loop cursor. : the head for your list. : the name of the hlist_node within the struct.
Definition at line 94 of file list_nulls.h.
#define hlist_nulls_for_each_entry_from | ( | tpos, | |
pos, | |||
member | |||
) |
hlist_nulls_for_each_entry_from - iterate over a hlist continuing from current point : the type * to use as a loop cursor. : the &struct hlist_node to use as a loop cursor. : the name of the hlist_node within the struct.
Definition at line 107 of file list_nulls.h.
#define INIT_HLIST_NULLS_HEAD | ( | ptr, | |
nulls | |||
) | ((ptr)->first = (struct hlist_nulls_node *) (1UL | (((long)nulls) << 1))) |
Definition at line 24 of file list_nulls.h.