projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pre_read fixes
[fio.git]
/
flist.h
diff --git
a/flist.h
b/flist.h
index f28a5ab7ef27250151cc1f1a5678b68fff519d5a..e62f4b295e7f843dd565ec426328fefb7470ff5d 100644
(file)
--- a/
flist.h
+++ b/
flist.h
@@
-41,33
+41,34
@@
struct flist_head {
* This is only for internal list manipulation where we know
* the prev/next entries already!
*/
* This is only for internal list manipulation where we know
* the prev/next entries already!
*/
-static inline void __flist_add(struct flist_head *new,
+static inline void __flist_add(struct flist_head *new
_entry
,
struct flist_head *prev,
struct flist_head *next)
{
struct flist_head *prev,
struct flist_head *next)
{
- next->prev = new;
- new->next = next;
- new->prev = prev;
- prev->next = new;
+ next->prev = new
_entry
;
+ new
_entry
->next = next;
+ new
_entry
->prev = prev;
+ prev->next = new
_entry
;
}
/**
* flist_add - add a new entry
}
/**
* flist_add - add a new entry
- * @new: new entry to be added
+ * @new
_entry
: new entry to be added
* @head: list head to add it after
*
* Insert a new entry after the specified head.
* This is good for implementing stacks.
*/
* @head: list head to add it after
*
* Insert a new entry after the specified head.
* This is good for implementing stacks.
*/
-static inline void flist_add(struct flist_head *new, struct flist_head *head)
+static inline void flist_add(struct flist_head *new_entry,
+ struct flist_head *head)
{
{
- __flist_add(new, head, head->next);
+ __flist_add(new
_entry
, head, head->next);
}
}
-static inline void flist_add_tail(struct flist_head *new,
+static inline void flist_add_tail(struct flist_head *new
_entry
,
struct flist_head *head)
{
struct flist_head *head)
{
- __flist_add(new, head->prev, head);
+ __flist_add(new
_entry
, head->prev, head);
}
/*
}
/*