Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:select_collect

Proto:static enum d_walk_ret select_collect(void *_data, struct dentry *dentry)

Type:enum d_walk_ret

Parameter:

TypeParameterName
void *_data
struct dentry *dentry
1476  data = _data
1477  ret = D_WALK_CONTINUE
1479  If start == dentry Then Go to out
1482  If protected by d_lock & DCACHE_SHRINK_LIST Then
1483  found++
1484  Else
1485  If protected by d_lock & DCACHE_LRU_LIST Then d_lru_del(dentry)
1487  If Not count Then
1489  found++
1497  If Not list_empty - tests whether a list is empty*@head: the list to test. Then ret = If need_resched() Then D_WALK_QUIT Else D_WALK_NORETRY
1499  out :
1500  Return ret