函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-29 10:45:12
Last Modify:2020-03-18 10:38:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__bread_slow

函数原型:static struct buffer_head *__bread_slow(struct buffer_head *bh)

返回类型:struct buffer_head

参数:

类型参数名称
struct buffer_head *bh
1210  lock_buffer(bh)
1211  如果Emit the buffer bitops functions. Note that there are also functions* of the form "mark_buffer_foo()". These are higher-level functions which* do something in addition to setting a b_state bit.
1212  unlock_buffer(bh)
1213  返回:bh
1214  否则
1215  get_bh(bh)
1216  I/O completion 等于Default synchronous end-of-IO handler.. Just mark it up-to-date and* unlock the buffer. This is what ll_rw_block uses too.
1217  submit_bh(REQ_OP_READ, 0, bh)
1218  wait_on_buffer(bh)
1219  如果Emit the buffer bitops functions. Note that there are also functions* of the form "mark_buffer_foo()". These are higher-level functions which* do something in addition to setting a b_state bit.则返回:bh
1222  brelse(bh)
1223  返回:NULL
调用者
名称描述
__bread_gfp__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