函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:throtl_downgrade_state

函数原型:static void throtl_downgrade_state(struct throtl_data *td, int new)

返回类型:void

参数:

类型参数名称
struct throtl_data *td
intnew
1962  scale除等于2
1964  hrotl_log - log debug message via blktrace*@sq: the service_queue being reported*@fmt: printf format string*@args: printf args* The messages are prefixed with "throtl BLKG_NAME" if @sq belongs to a* throtl_grp; otherwise, just "throtl".( & service tree for active throtl groups , "downgrade, scale %d", scale)
1965  如果scale
1966  low_upgrade_time等于jiffiesscalethrotl_slice
1967  返回
1970  limit_index等于new
1971  low_downgrade_time等于jiffies
调用者
名称描述
throtl_downgrade_check