Lines Matching refs:list_head
36 struct list_head { struct
37 struct list_head *next, *prev; argument
43 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD()
51 struct list_head name = LIST_HEAD_INIT(name)
54 list_empty(const struct list_head *head) { in list_empty()
59 list_add(struct list_head *new, struct list_head *head) { in list_add()
67 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail()
75 list_del(struct list_head *entry) { in list_del()
80 static inline void list_replace(struct list_head *old, in list_replace()
81 struct list_head *new) in list_replace()
89 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
95 static inline void list_move_tail(struct list_head *list, in list_move_tail()
96 struct list_head *head) in list_move_tail()
103 list_del_init(struct list_head *entry) { in list_del_init()
154 __list_splice(const struct list_head *list, struct list_head *prev, in __list_splice()
155 struct list_head *next) in __list_splice()
157 struct list_head *first = list->next; in __list_splice()
158 struct list_head *last = list->prev; in __list_splice()
168 list_splice(const struct list_head *list, struct list_head *head) in list_splice()
176 void drm_list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv,
177 struct list_head *a, struct list_head *b));