SEQ_HLIST_START_HEAD
Section: The Linux VFS (9)
Updated: February 2011
Index
Return to Main Contents
NAME
seq_hlist_start_head_rcu - start an iteration of a hlist protected by RCU
SYNOPSIS
-
struct hlist_node * seq_hlist_start_head_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. Call this function if you want to print a header at the top of the output.
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