函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_arm_slice_timer

函数原型:static void bfq_arm_slice_timer(struct bfq_data *bfqd)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
2957  bfqq等于 bfq_queue in service
2960  bfq_mark_bfqq_wait_request(bfqq)
2967  sl等于 maximum idling time
2978  如果BFQQ_SEEKY(bfqq)且actor by which the weight of this queue is multiplied 恒等于1且非The following function returns false either if every active queue* must receive the same share of the throughput (symmetric scenario),* or, as a special case, if bfqq must receive a share of the* throughput lower than or equal to the share that every sl等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, sl, Below this threshold (in ns), we consider thinktime immediate. )
2981  否则如果actor by which the weight of this queue is multiplied 大于1则sl等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u32, sl, 20ULL * NSEC_PER_MSEC)
2984  beginning of the last idle slice 等于ktime_get()
2985  last_idling_start_jiffies等于jiffies
2987  重启cpu高精度定时器
2989  bfqg_stats_set_start_idle_time(bfqq_group(bfqq))
调用者
名称描述
bfq_completed_request