函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:prune_dcache_sb - shrink the dcache*@sb: superblock*@sc: shrink control, passed to list_lru_shrink_walk()* Attempt to shrink the superblock dcache LRU by @sc->nr_to_scan entries

函数原型:long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc)

返回类型:long

参数:

类型参数名称
struct super_block *sb
struct shrink_control *sc
1198  LIST_HEAD(dispose)
1201  freed等于list_lru_shrink_walk( & s_dentry_lru, sc, dentry_lru_isolate, & dispose)
1203  shrink_dentry_list( & dispose)
1204  返回:freed