other versions
- wheezy 3.2.78-1
__D_RCU_TO_REFCOUNT(9) | The Linux VFS | __D_RCU_TO_REFCOUNT(9) |
NAME¶
__d_rcu_to_refcount - take a refcount on dentry if sequence check is okSYNOPSIS¶
int
__d_rcu_to_refcount(struct dentry * dentry,
unsigned seq);
ARGUMENTS¶
dentrydentry 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¶
March 2016 | Kernel Hackers Manual 3.2. |