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:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_buffer_mapped

Proto:static inline __attribute__((__always_inline__)) void set_buffer_mapped(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
126  If Not If __builtin_constant_p( Has a disk mapping ) Then constant_test_bit(( Has a disk mapping ), ( & buffer state bitmap (see above) )) Else variable_test_bit(( Has a disk mapping ), ( & buffer state bitmap (see above) )) Then Atomically set a bit in memory
Caller
NameDescribe
init_page_buffersInitialise the state of a blockdev page's buffers.
iomap_to_bh
blkdev_get_block