Lines Matching defs:list_head
24 struct list_head {
25 struct list_head *next, *prev;
32 struct list_head name = LIST_HEAD_INIT(name)
36 * @ptr: the &struct list_head pointer.
38 * @member: the name of the list_head within the struct.
47 * @member: the name of the list_head within the struct.
59 * @member: the name of the list_head within the struct.
71 static inline int list_empty(const struct list_head *head)
82 static inline void __list_add(struct list_head *_new,
83 struct list_head *prev,
84 struct list_head *next)
100 static inline void list_add_tail(struct list_head *_new, struct list_head *head)
112 static inline void __list_del(struct list_head *prev, struct list_head *next)
126 static inline void list_del(struct list_head *entry)
129 entry->next = (struct list_head*)LIST_POISON1;
130 entry->prev = (struct list_head*)LIST_POISON2;