#include <linux/kernel.h>
#include <linux/list.h>
Go to the source code of this file.
|
#define | PLIST_HEAD_INIT(head) |
|
#define | PLIST_NODE_INIT(node, __prio) |
|
#define | plist_for_each(pos, head) list_for_each_entry(pos, &(head)->node_list, node_list) |
|
#define | plist_for_each_safe(pos, n, head) list_for_each_entry_safe(pos, n, &(head)->node_list, node_list) |
|
#define | plist_for_each_entry(pos, head, mem) list_for_each_entry(pos, &(head)->node_list, mem.node_list) |
|
#define | plist_for_each_entry_safe(pos, n, head, m) list_for_each_entry_safe(pos, n, &(head)->node_list, m.node_list) |
|
#define | plist_first_entry(head, type, member) container_of(plist_first(head), type, member) |
|
#define | plist_last_entry(head, type, member) container_of(plist_last(head), type, member) |
|
plist_for_each - iterate over the plist : the type * to use as a loop counter : the head for your list
Definition at line 142 of file plist.h.
plist_for_each_entry - iterate over list of given type : the type * to use as a loop counter : the head for your list : the name of the list_struct within the struct
Definition at line 162 of file plist.h.
plist_for_each_entry_safe - iterate safely over list of given type : the type * to use as a loop counter
: another type * to use as temporary storage : the head for your list : the name of the list_struct within the struct
Iterate over list of given type, safe against removal of list entry.
Definition at line 174 of file plist.h.
plist_for_each_safe - iterate safely over a plist of given type : the type * to use as a loop counter
: another type * to use as temporary storage : the head for your list
Iterate over a plist of given type, safe against removal of list entry.
Definition at line 153 of file plist.h.
#define PLIST_HEAD_INIT |
( |
|
head | ) |
|
#define PLIST_NODE_INIT |
( |
|
node, |
|
|
|
__prio |
|
) |
| |
Value:{ \
.prio = (__prio), \
}
PLIST_NODE_INIT - static struct plist_node initializer : struct plist_node variable name : initial node priority
Definition at line 105 of file plist.h.