__d_rcu_to_refcount(9) take a refcount on dentry if sequence check is ok

SYNOPSIS

int __d_rcu_to_refcount(struct dentry * dentry, unsigned seq);

ARGUMENTS

dentry

dentry to take a ref on

seq

seqcount to verify against

RETURNS

0 on failure, else 1.

__d_rcu_to_refcount operates on a dentry,seq pair that was returned by __d_lookup_rcu, to get a reference on an rcu-walk dentry.

COPYRIGHT