函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__dput_to_list

函数原型:static void __dput_to_list(struct dentry *dentry, struct list_head *list)__must_hold(&dentry->d_lock)

返回类型:void

参数:

类型参数名称
struct dentry *dentry
struct list_head *list
867  如果 protected by d_lock 按位与DCACHE_SHRINK_LIST
869  count先自减
870  否则
871  如果 protected by d_lock 按位与DCACHE_LRU_LISTd_lru_del(dentry)
873  如果非count先自减则d_shrink_add(dentry, list)
调用者
名称描述
dput_to_list
shrink_dentry_list
shrink_dcache_parent收缩高速缓存区