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

Name:sb_bread

Proto:static inline struct buffer_head *sb_bread(struct super_block *sb, sector_t block)

Type:struct buffer_head

Parameter:

TypeParameterName
struct super_block *sb
sector_tblock
307  Return __bread_gfp() - reads a specified block and returns the bh*@bdev: the block_device to read from*@block: number of block*@size: size (in bytes) to read*@gfp: page allocation flag* Reads a specified block, and returns buffer head that contains it