Home | History | Annotate | Download | only in yaffs2

Lines Matching refs:LIST_HEAD

56 struct list_head {
57 struct list_head *next, *prev;
62 #define LIST_HEAD(name) \
63 struct list_head name = LIST_HEAD_INIT(name)
75 static __inline__ void __list_add(struct list_head *new,
76 struct list_head *prev,
77 struct list_head *next)
93 static __inline__ void list_add(struct list_head *new, struct list_head *head)
106 static __inline__ void list_add_tail(struct list_head *new,
107 struct list_head *head)
119 static __inline__ void __list_del(struct list_head *prev,
120 struct list_head *next)
132 static __inline__ void list_del(struct list_head *entry)
141 static __inline__ void list_del_init(struct list_head *entry)
151 static __inline__ int list_empty(struct list_head *head)
161 static __inline__ void list_splice(struct list_head *list,
162 struct list_head *head)
164 struct list_head *first = list->next;
167 struct list_head *last = list->prev;
168 struct list_head *at = head->next;
180 * @ptr: the &struct list_head pointer.
189 * @pos: the &struct list_head to use as a loop counter.
199 * @pos: the &struct list_head to use as a loop counter.
200 * @n: another &struct list_head to use as temporary storage