函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_max_budget_show

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

返回类型:ssize_t

参数:

类型参数名称
struct elevator_queue *e
char *page
6598  bfqd等于elevator_data
6598  __data等于 user-configured max budget value (0 for auto-tuning)
6598  如果0恒等于1则__data等于Convert jiffies to milliseconds and back.* Avoid unnecessary multiplications/divisions in the* two most common HZ cases:
6598  否则如果0恒等于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
6598  返回:bfq_var_show(__data, (page))