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:These can only be called under the global LRU lock, ie during the* callback for freeing the LRU list. "isolate" removes it from the* LRU lists entirely, while shrink_move moves it to the indicated* private list.

Proto:static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct list_lru_one *lru
struct dentry *dentry
441  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)
442  protected by d_lock &= ~DCACHE_LRU_LIST
443  this_cpu_dec(nr_dentry_unused)
444  If d_is_negative(dentry) Then this_cpu_dec(nr_dentry_negative)
446  list_lru_isolate(lru, & LRU list )
Caller
NameDescribe
dentry_lru_isolate