Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:58:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_max_budget_show

Proto:static ssize_t bfq_max_budget_show(struct elevator_queue *e, char *page)

Type:ssize_t

Parameter:

TypeParameterName
struct elevator_queue *e
char *page
6598  bfqd = elevator_data
6598  __data = user-configured max budget value (0 for auto-tuning)
6598  If 0 == 1 Then __data = Convert jiffies to milliseconds and back.* Avoid unnecessary multiplications/divisions in the* two most common HZ cases:
6598  Else if 0 == 2 Then __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  Return bfq_var_show(__data, (page))