list_for_each_rcu

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

list_for_each_rcu - iterate over an rcu-protected list

SYNOPSIS

list_for_each_rcu(pos, head);

ARGUMENTS

pos

the struct list_head to use as a loop cursor.

head

the head for your list.

DESCRIPTION

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.