Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:h_uptodate_or_lock - Test whether the buffer is uptodate*@bh: struct buffer_head* Return true if the buffer is up-to-date and false,* with the buffer locked, if not.

Proto:int bh_uptodate_or_lock(struct buffer_head *bh)

Type:int

Parameter:

TypeParameterName
struct buffer_head *bh
3431  If Not Emit the buffer bitops functions. Note that there are also functions* of the form "mark_buffer_foo()". These are higher-level functions which* do something in addition to setting a b_state bit. Then
3432  lock_buffer(bh)
3433  If Not Emit the buffer bitops functions. Note that there are also functions* of the form "mark_buffer_foo()". These are higher-level functions which* do something in addition to setting a b_state bit. Then Return 0
3435  unlock_buffer(bh)
3437  Return 1