Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:d_shrink_add

Proto:static void d_shrink_add(struct dentry *dentry, struct list_head *list)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
struct list_head *list
427  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, 0)
428  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
429  protected by d_lock |= DCACHE_SHRINK_LIST | DCACHE_LRU_LIST
430  this_cpu_inc(nr_dentry_unused)
Caller
NameDescribe
__dput_to_list
select_collect
select_collect2