函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:throtl_upgrade_check

函数原型:static void throtl_upgrade_check(struct throtl_grp *tg)

返回类型:void

参数:

类型参数名称
struct throtl_grp *tg
1918  now等于jiffies
1920  如果limit_index不等于LIMIT_LOW则返回
1923  如果These inlines deal with timer wrapping correctly. You are * strongly encouraged to use them* 1. Because people otherwise forget* 2. Because if the timer wrap changes in future you won't have to* alter your driver code.(last_check_time + throtl_slice, now)则返回
1926  last_check_time等于now
1928  如果非time_after_eq(now, __tg_last_low_overflow_time(tg) + throtl_slice)则返回
1932  如果throtl_can_upgrade( throtl_data this group belongs to , NULL)则throtl_upgrade_state( throtl_data this group belongs to )
调用者
名称描述
blk_throtl_bio