Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc)

Type:long

Parameter:

TypeParameterName
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  Return freed