函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rns usage with margin added if surplus is large enough

函数原型:static unsigned int surplus_adjusted_hweight_inuse(unsigned int usage, unsigned int hw_inuse)

返回类型:unsigned int

参数:

类型参数名称
unsigned intusage
unsigned inthw_inuse
1331  usage等于DIV_ROUND_UP(usage * SURPLUS_SCALE_PCT, 100)
1332  usage加等于SURPLUS_SCALE_ABS
1335  如果usageSURPLUS_MIN_ADJ_DELTA大于hw_inuse则返回:0
1338  返回:usage
调用者
名称描述
ioc_timer_fn