Lines Matching refs:list_head
24 struct list_head {
25 struct list_head *next, *prev;
40 _INLINE_ void __list_add(struct list_head * add,
41 struct list_head * prev,
42 struct list_head * next)
58 _INLINE_ void list_add(struct list_head *add, struct list_head *head)
71 _INLINE_ void list_add_tail(struct list_head *add, struct list_head *head)
83 _INLINE_ void __list_del(struct list_head * prev,
84 struct list_head * next)
97 _INLINE_ void list_del(struct list_head *entry)
106 _INLINE_ void list_del_init(struct list_head *entry)
116 _INLINE_ int list_empty(struct list_head *head)
126 _INLINE_ void list_splice(struct list_head *list, struct list_head *head)
128 struct list_head *first = list->next;
131 struct list_head *last = list->prev;
132 struct list_head *at = head->next;
144 * @ptr: the &struct list_head pointer.
153 * @pos: the &struct list_head to use as a loop counter.
162 * @pos: the &struct list_head to use as a loop counter.
163 * @pnext: the &struct list_head to use as a pointer to the next item.