Home | History | Annotate | Download | only in libutil

Lines Matching refs:list_head

24 struct list_head {
25 struct list_head * next, * prev;
34 static __inline__ void list_init(struct list_head * ptr)
46 static __inline__ void __list_add(struct list_head * new_entry,
47 struct list_head * prev,
48 struct list_head * next)
64 static __inline__ void list_add(struct list_head * new_entry, struct list_head * head)
77 static __inline__ void list_add_tail(struct list_head * new_entry, struct list_head * head)
89 static __inline__ void __list_del(struct list_head * prev,
90 struct list_head * next)
101 static __inline__ void list_del(struct list_head * entry)
110 static __inline__ void list_del_init(struct list_head * entry)
120 static __inline__ int list_empty(struct list_head const * head)
130 static __inline__ void list_splice(struct list_head * list, struct list_head * head)
132 struct list_head * first = list->next;
135 struct list_head * last = list->prev;
136 struct list_head * at = head->next;
148 * @param ptr the &struct list_head pointer.
157 * @param pos the &struct list_head to use as a loop counter.
165 * @param pos the &struct list_head to use as a loop counter.
166 * @param n another &struct list_head to use as temporary storage
175 #define LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name)