Lines Matching defs:list_head
38 struct list_head {
39 struct list_head *next, *prev;
45 INIT_LIST_HEAD(struct list_head *head) {
53 struct list_head name = LIST_HEAD_INIT(name)
56 list_empty(const struct list_head *head) {
61 list_add(struct list_head *new, struct list_head *head) {
69 list_add_tail(struct list_head *entry, struct list_head *head) {
77 list_del(struct list_head *entry) {
82 static inline void list_replace(struct list_head *old,
83 struct list_head *new)
91 static inline void list_move(struct list_head *list, struct list_head *head)
97 static inline void list_move_tail(struct list_head *list,
98 struct list_head *head)
105 list_del_init(struct list_head *entry) {
156 __list_splice(const struct list_head *list, struct list_head *prev,
157 struct list_head *next)
159 struct list_head *first = list->next;
160 struct list_head *last = list->prev;
170 list_splice(const struct list_head *list, struct list_head *head)
178 void drm_list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv,
179 struct list_head *a, struct list_head *b));