函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-flush.c Create Date:2022-07-27 18:37:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_account_io_flush

函数原型:static void blk_account_io_flush(struct request *rq)

返回类型:void

参数:

类型参数名称
struct request *rq
142  part等于part0
144  Macros to operate on percpu disk statistics:* {disk|part|all}_stat_{add|sub|inc|dec}() modify the stat counters* and should be called between disk_stat_lock() and* disk_stat_unlock()()
145  part_stat_inc(part, ios[STAT_FLUSH])
146  part_stat_add(part, nsecs[STAT_FLUSH], ktime_get_ns() - Time that this request was allocated for this IO. )
148  part_stat_unlock()
调用者
名称描述
flush_end_io