corosync
2.4.4-dirty
|
Linked list API. More...
Go to the source code of this file.
Data Structures | |
struct | list_head |
Macros | |
#define | DECLARE_LIST_INIT(name) struct list_head name = { &(name), &(name) } |
#define | list_entry(ptr, type, member) ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) |
Linked list API.
This implementation uses the same API as the linux kernel to help us kernel developers easily use the list primatives
Definition in file list.h.
#define DECLARE_LIST_INIT | ( | name | ) | struct list_head name = { &(name), &(name) } |
#define list_entry | ( | ptr, | |
type, | |||
member | |||
) | ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) |
Definition at line 84 of file list.h.
Referenced by icmap_is_key_ro(), icmap_set_ro_access(), totemip_freeifaddrs(), totemip_iface_check(), totemudpu_member_list_rebind_ip(), totemudpu_member_remove(), and totemudpu_member_set_active().