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

Proto:static enum lru_status dentry_lru_isolate_shrink(struct list_head *item, struct list_lru_one *lru, spinlock_t *lru_lock, void *arg)

Type:enum lru_status

Parameter:

TypeParameterName
struct list_head *item
struct list_lru_one *lru
spinlock_t *lru_lock
void *arg
1210  freeable = arg
1211  dentry = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(item, structdentry, d_lru)
1218  If Not spin_trylock( & d_lock) Then Return m cannot be locked, skip
1221  d_lru_shrink_move(lru, dentry, freeable)
1222  spin_unlock( & d_lock)
1224  Return m removed from list