Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:has_bh_in_lru

Proto:static bool has_bh_in_lru(int cpu, void *dummy)

Type:bool

Parameter:

TypeParameterName
intcpu
void *dummy
1423  b = per_cpu_ptr( & bh_lrus, cpu)
1426  When i < Per-cpu buffer LRU implementation. To reduce the cost of __find_get_block().* The bhs[] array is sorted - newest buffer is at bhs[0]. Buffers have their* refcount elevated by one when they're in an LRU. A buffer can only appear cycle
1427  If bhs[i] Then Return true
1431  Return false