函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_update_io_thinktime

函数原型:static void bfq_update_io_thinktime(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
5194  ttime等于associated @bfq_ttime struct
5195  elapsed等于ktime_get_ns()减completion time of the last request
5197  elapsed等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, elapsed, 2ULL * maximum idling time )
5199  umber of thinktime samples 等于7乘umber of thinktime samples 加256的和除8
5200  al process thinktime 等于div_u64 - unsigned 64bit divide with 32bit divisor*@dividend: unsigned 64bit dividend*@divisor: unsigned 32bit divisor* This is the most common 64bit divide and should be used if possible,* as many 32bit archs can optimize this variant better than a full
5201  average process thinktime 等于div64_ul(al process thinktime + 128, umber of thinktime samples )
调用者
名称描述
__bfq_insert_requestrns true if it causes the idle timer to be disabled