table of contents
SEQ_HLIST_START_HEAD(9) | The Linux VFS | SEQ_HLIST_START_HEAD(9) |
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¶
June 2024 | Kernel Hackers Manual 3.10 |