函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ll_rw_block: low-level access to block devices (DEPRECATED)*@op: whether to %READ or %WRITE*@op_flags: req_flag_bits*@nr: number of &struct buffer_heads in the array*@bhs: array of pointers to &struct buffer_head* ll_rw_block() takes an array of pointers

函数原型:void ll_rw_block(int op, int op_flags, int nr, struct buffer_head *bhs[])

返回类型:void

参数:

类型参数名称
intop
intop_flags
intnr
struct buffer_head *bhs
3152 i小于nr循环
3153  bh等于bhs[i]
3155  如果非trylock_buffer(bh)则继续下一循环
3157  如果op恒等于WRITE
3158  如果test_clear_buffer_dirty(bh)则
3160  get_bh(bh)
3161  submit_bh(op, op_flags, bh)
3162  继续下一循环
3164  否则
3172  unlock_buffer(bh)
调用者
名称描述
write_boundary_blockCalled when we've recently written block `bblock', and it is known that* `bblock' was for a buffer_boundary() buffer. This means that the block at* `bblock + 1' is probably a dirty indirect block. Hunt it down and, if it's* dirty, schedule it for IO
__breadaheadDo async read-ahead on a buffer..
__block_write_begin_int
block_truncate_page