#include <linux/rbtree.h>
#include <stdbool.h>
#include "rblist.h"
Go to the source code of this file.
#define intlist__for_each |
( |
|
pos, |
|
|
|
ilist |
|
) |
| for (pos = intlist__first(ilist); pos; pos = intlist__next(pos)) |
intlist_for_each - iterate over a intlist : the &struct int_node to use as a loop cursor. : the &struct intlist for loop.
Definition at line 62 of file intlist.h.
#define intlist__for_each_safe |
( |
|
pos, |
|
|
|
n, |
|
|
|
ilist |
|
) |
| |
Value:for (
pos = intlist__first(ilist),
n = intlist__next(
pos);
pos;\
pos =
n,
n = intlist__next(n))
intlist_for_each_safe - iterate over a intlist safe against removal of int_node : the &struct int_node to use as a loop cursor.
: another &struct int_node to use as temporary storage. : the &struct intlist for loop.
Definition at line 72 of file intlist.h.