函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_timeout_sync_show

函数原型:static ssize_t bfq_timeout_sync_show(struct elevator_queue *e, char *page)

返回类型:ssize_t

参数:

类型参数名称
struct elevator_queue *e
char *page
6599  bfqd等于elevator_data
6599  __data等于* Timeout for bfq_queues to consume their budget; used to * prevent seeky queues from imposing long latencies to * sequential or quasi-sequential ones (this also implies that * seeky queues cannot receive guarantees in the service * domain; after a timeout
6599  如果1恒等于1则__data等于Convert jiffies to milliseconds and back.* Avoid unnecessary multiplications/divisions in the* two most common HZ cases:
6599  否则如果1恒等于2则__data等于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
6599  返回:bfq_var_show(__data, (page))