Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-28 20:07:26
Last Modify:2020-03-18 10:27:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dput_to_list

Proto:void dput_to_list(struct dentry *dentry, struct list_head *list)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
struct list_head *list
880  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
881  If Value is more likely to compile time(Try to do a lockless dput(), and return whether that was successful) Then
882  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
883  Return
885  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
886  If Not retain_dentry(dentry) Then __dput_to_list(dentry, list)
888  spin_unlock( & d_lock)
Caller
NameDescribe
__put_mountpointvfsmount lock must be held. Additionally, the caller is responsible* for serializing calls for given disposal list.