NAME
list_for_each_safe_rcu -
SYNOPSIS
list_for_each_safe_rcu(pos, n, head);
ARGUMENTS
pos
the &struct list_head to use as a loop cursor.
n
another &struct list_head to use as temporary storage
head
the head for your list.
DESCRIPTION
Iterate over an rcu-protected list, safe against removal of list entry.
This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as list_add_rcu as long as the traversal is guarded by rcu_read_lock.