corosync
2.3.6
|
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 coroparse_configparse(), cs_ipcs_private_data_get(), cs_ipcs_response_send(), icmap_init(), icmap_is_key_ro(), icmap_set_ro_access(), totem_config_find_local_addr_in_nodelist(), totemip_freeifaddrs(), totemip_iface_check(), totemsrp_callback_token_destroy(), totemudpu_crypto_set(), totemudpu_member_list_rebind_ip(), totemudpu_member_remove(), totemudpu_member_set_active(), votequorum_init(), and vsf_quorum_get_service_engine_ver0().