#include <linux/list.h>
#include <linux/bit_spinlock.h>
Go to the source code of this file.
|
#define | LIST_BL_LOCKMASK 0UL |
|
#define | LIST_BL_BUG_ON(x) |
|
#define | INIT_HLIST_BL_HEAD(ptr) ((ptr)->first = NULL) |
|
#define | hlist_bl_entry(ptr, type, member) container_of(ptr,type,member) |
|
#define | hlist_bl_for_each_entry(tpos, pos, head, member) |
|
#define | hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) |
|
#define hlist_bl_for_each_entry |
( |
|
tpos, |
|
|
|
pos, |
|
|
|
head, |
|
|
|
member |
|
) |
| |
#define hlist_bl_for_each_entry_safe |
( |
|
tpos, |
|
|
|
pos, |
|
|
|
n, |
|
|
|
head, |
|
|
|
member |
|
) |
| |
Value:
pos && ({
n =
pos->next; 1; }) && \
hlist_bl_for_each_entry_safe - iterate over list of given type safe against removal of list entry : the type * to use as a loop cursor. : the &struct hlist_node to use as a loop cursor.
: another &struct hlist_node to use as temporary storage : the head for your list. : the name of the hlist_node within the struct.
Definition at line 150 of file list_bl.h.
#define LIST_BL_BUG_ON |
( |
|
x | ) |
|
#define LIST_BL_LOCKMASK 0UL |