Lines Matching refs:head
159 list_add(struct list_head *entry, struct list_head *head) in list_add() argument
161 __list_add(entry, head, head->next); in list_add()
180 list_add_tail(struct list_head *entry, struct list_head *head) in list_add_tail() argument
182 __list_add(entry, head->prev, head); in list_add_tail()
220 struct list_head *head) in list_move_tail() argument
223 list_add_tail(list, head); in list_move_tail()
235 list_empty(struct list_head *head) in list_empty() argument
237 return head->next == head; in list_empty()
314 #define list_for_each_entry(pos, head, member) \ argument
315 for (pos = __container_of((head)->next, pos, member); \
316 &pos->member != (head); \
326 #define list_for_each_entry_safe(pos, tmp, head, member) \ argument
327 for (pos = __container_of((head)->next, pos, member), \
329 &pos->member != (head); \
333 #define list_for_each_entry_reverse(pos, head, member) \ argument
334 for (pos = __container_of((head)->prev, pos, member); \
335 &pos->member != (head); \
338 #define list_for_each_entry_continue(pos, head, member) \ argument
340 &pos->member != (head); \
343 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument
345 &pos->member != (head); \
348 #define list_for_each_entry_from(pos, head, member) \ argument
350 &pos->member != (head); \