|
#define | prefetch(x) |
|
#define | container_of(ptr, type, member) |
|
#define | container_of_safe(ptr, type, member) |
|
#define | LIST_HEAD_INIT(name) { &(name), &(name) } |
|
#define | LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name) |
|
#define | list_entry(ptr, type, field) container_of(ptr, type, field) |
|
#define | list_first_entry(ptr, type, field) list_entry((ptr)->next, type, field) |
|
#define | list_last_entry(ptr, type, field) list_entry((ptr)->prev, type, field) |
|
#define | list_next_entry(pos, member) list_entry((pos)->member.next, typeof(*(pos)), member) |
|
#define | list_entry_is_h(p, h, field) (&p->field == (h)) |
|
#define | list_for_each(p, head) for (p = (head)->next; p != (head); p = p->next) |
|
#define | list_for_each_safe(p, n, head) for (p = (head)->next, n = p->next; p != (head); p = n, n = p->next) |
|
#define | list_for_each_entry(p, h, field) |
|
#define | list_for_each_entry_continue(p, h, field) |
|
#define | list_for_each_entry_continue_reverse(p, h, field) |
|
#define | list_for_each_entry_safe(p, n, h, field) |
|
#define | list_for_each_entry_reverse(p, h, field) |
|
#define | list_for_each_prev(p, h) for (p = (h)->prev; p != (h); p = p->prev) |
|
#define | list_for_each_prev_safe(p, n, h) for (p = (h)->prev, n = p->prev; p != (h); p = n, n = p->prev) |
|
|
static void | INIT_LIST_HEAD (struct list_head *list) |
|
static bool | list_empty (const struct list_head *head) |
|
static bool | list_is_first (const struct list_head *list, const struct list_head *head) |
|
static bool | list_is_last (const struct list_head *list, const struct list_head *head) |
|
static void | _list_del (struct list_head *entry) |
|
static void | list_del (struct list_head *entry) |
|
static void | _list_add (struct list_head *_new, struct list_head *prev, struct list_head *next) |
|
static void | list_del_init (struct list_head *entry) |
|
static void | list_add (struct list_head *_new, struct list_head *head) |
|
static void | list_add_tail (struct list_head *_new, struct list_head *head) |
|
static void | list_move (struct list_head *list, struct list_head *head) |
|
static void | list_move_tail (struct list_head *entry, struct list_head *head) |
|
static void | _list_splice (const struct list_head *list, struct list_head *prev, struct list_head *next) |
|
static void | list_splice (const struct list_head *list, struct list_head *head) |
|
static void | list_splice_tail (struct list_head *list, struct list_head *head) |
|
static void | list_splice_init (struct list_head *list, struct list_head *head) |
|
static void | list_splice_tail_init (struct list_head *list, struct list_head *head) |
|