函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-27 13:23:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__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.

函数原型:static inline struct buffer_head *__bread(struct block_device *bdev, sector_t block, unsigned size)

返回类型:struct buffer_head

参数:

类型参数名称
struct block_device *bdev
sector_tblock
unsignedsize
396  返回:__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