Lines Matching refs:list_head
38 struct list_head {
39 struct list_head *next, *prev;
45 struct list_head name = LIST_HEAD_INIT(name)
48 * INIT_LIST_HEAD - Initialize a list_head structure
49 * @list: list_head structure to be initialized.
51 * Initializes the list_head to point to itself. If it is a list header,
54 static inline void INIT_LIST_HEAD(struct list_head *list)
66 static inline void __list_add(struct list_head *new,
67 struct list_head *prev,
68 struct list_head *next)
84 static inline void list_add(struct list_head *new, struct list_head *head)
97 static inline void list_add_tail(struct list_head *new, struct list_head *head)
109 static inline void __list_del(struct list_head *prev, struct list_head *next)
115 static inline void __list_del_entry(struct list_head *entry)
126 static inline void list_del(struct list_head *entry)
138 static inline int list_is_head(const struct list_head *list, const struct list_head *head)
147 static inline int list_empty(const struct list_head *head)
154 * @ptr: the &struct list_head pointer.
156 * @member: the name of the list_head within the struct.
165 * @member: the name of the list_head within the struct.
175 * @member: the name of the list_head within the struct.
184 * @member: the name of the list_head within the struct.
193 * @member: the name of the list_head within the struct.
205 * @member: the name of the list_head within the struct.