函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up.

函数原型:static u64 abs_cost_to_cost(u64 abs_cost, unsigned int hw_inuse)

返回类型:u64

参数:

类型参数名称
u64abs_cost
unsigned inthw_inuse
661  返回:DIV64_U64_ROUND_UP(abs_cost * HWEIGHT_WHOLE, hw_inuse)
调用者
名称描述
iocg_wake_fn
iocg_kick_waitq
iocg_kick_delay
ioc_rqos_throttle
ioc_rqos_merge