Lines Matching refs:flist_head
27 struct flist_head { struct
28 struct flist_head *next, *prev; argument
34 struct flist_head name = FLIST_HEAD_INIT(name)
46 static inline void __flist_add(struct flist_head *new_entry, in __flist_add()
47 struct flist_head *prev, in __flist_add()
48 struct flist_head *next) in __flist_add()
64 static inline void flist_add(struct flist_head *new_entry, in flist_add()
65 struct flist_head *head) in flist_add()
70 static inline void flist_add_tail(struct flist_head *new_entry, in flist_add_tail()
71 struct flist_head *head) in flist_add_tail()
83 static inline void __flist_del(struct flist_head *prev, in __flist_del()
84 struct flist_head * next) in __flist_del()
96 static inline void flist_del(struct flist_head *entry) in flist_del()
107 static inline void flist_del_init(struct flist_head *entry) in flist_del_init()
117 static inline int flist_empty(const struct flist_head *head) in flist_empty()
122 static inline void __flist_splice(const struct flist_head *list, in __flist_splice()
123 struct flist_head *prev, in __flist_splice()
124 struct flist_head *next) in __flist_splice()
126 struct flist_head *first = list->next; in __flist_splice()
127 struct flist_head *last = list->prev; in __flist_splice()
136 static inline void flist_splice(const struct flist_head *list, in flist_splice()
137 struct flist_head *head) in flist_splice()
143 static inline void flist_splice_tail(struct flist_head *list, in flist_splice_tail()
144 struct flist_head *head) in flist_splice_tail()
150 static inline void flist_splice_tail_init(struct flist_head *list, in flist_splice_tail_init()
151 struct flist_head *head) in flist_splice_tail_init()
159 static inline void flist_splice_init(struct flist_head *list, in flist_splice_init()
160 struct flist_head *head) in flist_splice_init()
198 extern void flist_sort(void *priv, struct flist_head *head,
199 int (*cmp)(void *priv, struct flist_head *a, struct flist_head *b));