函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_max_budget_store

函数原型:static ssize_t bfq_max_budget_store(struct elevator_queue *e, const char *page, size_t count)

返回类型:ssize_t

参数:

类型参数名称
struct elevator_queue *e
const char *page
size_tcount
6672  bfqd等于elevator_data
6676  ret等于bfq_var_store( & __data, (page))
6677  如果ret则返回:ret
6680  如果__data恒等于0则 maximum budget allotted to a bfq_queue before rescheduling 等于In autotuning mode, max_budget is dynamically recomputed as the* amount of sectors transferred in timeout at the estimated peak* rate. This enables BFQ to utilize a full timeslice with a full* budget, even if the in-service queue is served at peak rate
6682  否则
6683  如果__data大于INT_MAX__data等于INT_MAX
6685  maximum budget allotted to a bfq_queue before rescheduling 等于__data
6688  user-configured max budget value (0 for auto-tuning) 等于__data
6690  返回:count