Lines Matching defs:list_head
38 struct list_head {
39 struct list_head *next, *prev;
46 INIT_LIST_HEAD(struct list_head *head) {
54 struct list_head name = LIST_HEAD_INIT(name)
57 list_empty(const struct list_head *head) {
62 list_add(struct list_head *new, struct list_head *head) {
70 list_add_tail(struct list_head *entry, struct list_head *head) {
78 list_del(struct list_head *entry) {
83 static inline void list_replace(struct list_head *old,
84 struct list_head *new)
92 static inline void list_move(struct list_head *list, struct list_head *head)
98 static inline void list_move_tail(struct list_head *list,
99 struct list_head *head)
106 list_del_init(struct list_head *entry) {
157 __list_splice(const struct list_head *list, struct list_head *prev,
158 struct list_head *next)
160 struct list_head *first = list->next;
161 struct list_head *last = list->prev;
171 list_splice(const struct list_head *list, struct list_head *head)
179 void drm_list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv,
180 struct list_head *a, struct list_head *b));