Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-28 12:16:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_bh

Proto:static inline void put_bh(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
288  smp_mb__before_atomic()
289  atomic_dec( & users using this buffer_head )
Caller
NameDescribe
end_buffer_read_syncDefault synchronous end-of-IO handler.. Just mark it up-to-date and* unlock the buffer. This is what ll_rw_block uses too.
end_buffer_write_sync
write_boundary_blockCalled when we've recently written block `bblock', and it is known that* `bblock' was for a buffer_boundary() buffer. This means that the block at* `bblock + 1' is probably a dirty indirect block. Hunt it down and, if it's* dirty, schedule it for IO
__brelseDecrement a buffer_head's reference count