函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:31
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:destroy the dentries attached to a superblock on unmounting

函数原型:void shrink_dcache_for_umount(struct super_block *sb)

返回类型:void

参数:

类型参数名称
struct super_block *sb
1616  WARN(rylock for reading -- returns 1 if successful, 0 if contention, "s_umount should've been locked")
1618  dentry等于s_root
1619  s_root = NULL
1620  do_one_tree(dentry)
1622  当非hlist_bl_empty( & s_roots)循环
1623  dentry等于获得目录项引用
1624  do_one_tree(dentry)