SEQ_HLIST_START_RCU

Section: The Linux VFS (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

seq_hlist_start_rcu - start an iteration of a hlist protected by RCU  

SYNOPSIS

struct hlist_node * seq_hlist_start_rcu(struct hlist_head * head, loff_t pos);
 

ARGUMENTS

head

the head of the hlist

pos

the start position of the sequence
 

DESCRIPTION

Called at seq_file->op->start.

This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu as long as the traversal is guarded by rcu_read_lock.  

COPYRIGHT