Lines Matching defs:list_head
42 struct list_head name = LIST_HEAD_INIT(name)
45 * INIT_LIST_HEAD - Initialize a list_head structure
46 * @list: list_head structure to be initialized.
48 * Initializes the list_head to point to itself. If it is a list header,
51 static inline void INIT_LIST_HEAD(struct list_head *list)
63 static inline void __list_add(struct list_head *new,
64 struct list_head *prev,
65 struct list_head *next)
81 static inline void list_add(struct list_head *new, struct list_head *head)
94 static inline void list_add_tail(struct list_head *new, struct list_head *head)
106 static inline void __list_del(struct list_head *prev, struct list_head *next)
112 static inline void __list_del_entry(struct list_head *entry)
123 static inline void list_del(struct list_head *entry)
135 static inline int list_is_head(const struct list_head *list, const struct list_head *head)
144 static inline int list_empty(const struct list_head *head)
151 * @ptr: the &struct list_head pointer.
153 * @member: the name of the list_head within the struct.
162 * @member: the name of the list_head within the struct.
172 * @member: the name of the list_head within the struct.
181 * @member: the name of the list_head within the struct.
190 * @member: the name of the list_head within the struct.
202 * @member: the name of the list_head within the struct.