Coda Distributed File System
|
Go to the source code of this file.
Classes | |
struct | dllist_head |
Macros | |
#define | dllist_chain dllist_head |
#define | DLLIST_HEAD(x) struct dllist_head x = { &x, &x } |
#define | list_entry(ptr, type, member) ((type *)((char *)(ptr) - (unsigned long)(&((type *)0)->member))) |
Functions | |
int | list_empty (struct dllist_head *head) |
void | list_del (struct dllist_head *entry) |
void | list_add (struct dllist_head *entry, struct dllist_head *head) |
void | list_head_init (struct dllist_head *ptr) |
#define dllist_chain dllist_head |
#define DLLIST_HEAD | ( | x | ) | struct dllist_head x = { &x, &x } |
#define list_entry | ( | ptr, | |
type, | |||
member | |||
) | ((type *)((char *)(ptr) - (unsigned long)(&((type *)0)->member))) |
void list_add | ( | struct dllist_head * | entry, |
struct dllist_head * | head | ||
) |
void list_del | ( | struct dllist_head * | entry | ) |
int list_empty | ( | struct dllist_head * | head | ) |
void list_head_init | ( | struct dllist_head * | ptr | ) |