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:validate_bh_lrus() is called rarely - but not only at unmount.* This doesn't race because it runs in each cpu either in irq* or with preempt disabled.

Proto:static void invalidate_bh_lru(void *arg)

Type:void

Parameter:

TypeParameterName
void *arg
1411  b = Must be an lvalue. Since @var must be a simple identifier,* we force a syntax error here if it isn't.(bh_lrus)
1414  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
1415  brelse(bhs[i])
1416  bhs[i] = NULL
1418  The weird & is necessary because sparse considers (void)(var) to be* a direct dereference of percpu variable (var).(bh_lrus)