函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:d_lru_del

函数原型:static void d_lru_del(struct dentry *dentry)

返回类型:void

参数:

类型参数名称
struct dentry *dentry
409  The DCACHE_LRU_LIST bit is set whenever the 'd_lru' entry* is in use - which includes both the "real" per-superblock* LRU list _and_ the DCACHE_SHRINK_LIST use.* The DCACHE_SHRINK_LIST bit is set whenever the dentry is(dentry, DCACHE_LRU_LIST)
410  protected by d_lock 与等于DCACHE_LRU_LIST的反
411  this_cpu_dec(nr_dentry_unused)
412  如果d_is_negative(dentry)则this_cpu_dec(nr_dentry_negative)
414  WARN_ON_ONCE(!list_lru_del( & s_dentry_lru, & LRU list ))
调用者
名称描述
__dentry_kill
__dput_to_list
select_collect
select_collect2