Home | History | Annotate | Download | only in fio

Lines Matching refs:flist_head

27 struct flist_head {
28 struct flist_head *next, *prev;
33 #define FLIST_HEAD(name) \
34 struct flist_head name = FLIST_HEAD_INIT(name)
46 static inline void __flist_add(struct flist_head *new_entry,
47 struct flist_head *prev,
48 struct flist_head *next)
64 static inline void flist_add(struct flist_head *new_entry,
65 struct flist_head *head)
70 static inline void flist_add_tail(struct flist_head *new_entry,
71 struct flist_head *head)
83 static inline void __flist_del(struct flist_head *prev,
84 struct flist_head * next)
96 static inline void flist_del(struct flist_head *entry)
107 static inline void flist_del_init(struct flist_head *entry)
117 static inline int flist_empty(const struct flist_head *head)
122 static inline void __flist_splice(const struct flist_head *list,
123 struct flist_head *prev,
124 struct flist_head *next)
126 struct flist_head *first = list->next;
127 struct flist_head *last = list->prev;
136 static inline void flist_splice(const struct flist_head *list,
137 struct flist_head *head)
143 static inline void flist_splice_tail(struct flist_head *list,
144 struct flist_head *head)
150 static inline void flist_splice_tail_init(struct flist_head *list,
151 struct flist_head *head)
159 static inline void flist_splice_init(struct flist_head *list,
160 struct flist_head *head)
170 * @ptr: the &struct flist_head pointer.
182 * @pos: the &struct flist_head to use as a loop counter.
190 * @pos: the &struct flist_head to use as a loop counter.
191 * @n: another &struct flist_head to use as temporary storage
198 extern void flist_sort(void *priv, struct flist_head *head,
199 int (*cmp)(void *priv, struct flist_head *a, struct flist_head *b));