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

Name:__bread() - 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* Reads a specified block, and returns buffer head that contains it.

Proto:static inline struct buffer_head *__bread(struct block_device *bdev, sector_t block, unsigned size)

Type:struct buffer_head

Parameter:

TypeParameterName
struct block_device *bdev
sector_tblock
unsignedsize
396  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