Home | History | Annotate | Download | only in blkid

Lines Matching refs:LIST_HEAD

1 #if !defined(_BLKID_LIST_H) && !defined(LIST_HEAD)
24 struct list_head {
25 struct list_head *next, *prev;
30 #define LIST_HEAD(name) \
31 struct list_head name = LIST_HEAD_INIT(name)
43 _INLINE_ void __list_add(struct list_head * add,
44 struct list_head * prev,
45 struct list_head * next)
61 _INLINE_ void list_add(struct list_head *add, struct list_head *head)
74 _INLINE_ void list_add_tail(struct list_head *add, struct list_head *head)
86 _INLINE_ void __list_del(struct list_head * prev,
87 struct list_head * next)
100 _INLINE_ void list_del(struct list_head *entry)
109 _INLINE_ void list_del_init(struct list_head *entry)
119 _INLINE_ int list_empty(struct list_head *head)
129 _INLINE_ void list_splice(struct list_head *list, struct list_head *head)
131 struct list_head *first = list->next;
134 struct list_head *last = list->prev;
135 struct list_head *at = head->next;
147 * @ptr: the &struct list_head pointer.
156 * @pos: the &struct list_head to use as a loop counter.
165 * @pos: the &struct list_head to use as a loop counter.
166 * @pnext: the &struct list_head to use as a pointer to the next item.