Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_one_tree

Proto:static void do_one_tree(struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
1603  prune dcache
1604  d_walk - walk the dentry tree*@parent: start of walk*@data: data passed to @enter() and @finish()*@enter: callback when first entering the dentry* The @enter() callbacks are called with d_lock held.
1605  d_drop(dentry)
1606  dput - release a dentry*@dentry: dentry to release * Release a dentry. This will drop the usage count and if appropriate* call the dentry unlink method as well as removing it from the queues and* releasing its resources
Caller
NameDescribe
shrink_dcache_for_umountdestroy the dentries attached to a superblock on unmounting