Scroll to navigation

SEQ_HLIST_START_RCU(9) The Linux VFS SEQ_HLIST_START_RCU(9)

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

March 2017 Kernel Hackers Manual 4.10