函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:throtl_charge_bio

函数原型:static void throtl_charge_bio(struct throtl_grp *tg, struct bio *bio)

返回类型:void

参数:

类型参数名称
struct throtl_grp *tg
struct bio *bio
1044  rw等于Return the data direction, READ or WRITE.(bio)
1045  bio_size等于throtl_bio_data_size(bio)
1048  Number of bytes disptached in current slice [rw]加等于bio_size
1049  Number of bio's dispatched in current slice [rw]自加
1050  last_bytes_disp[rw]加等于bio_size
1051  last_io_disp[rw]自加
1059  如果非bio_flagged(bio, BIO_THROTTLED)则bio_set_flag(bio, BIO_THROTTLED)
调用者
名称描述
tg_dispatch_one_bio
blk_throtl_bio