函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:To be deemed as soft real-time, an application must meet two* requirements

函数原型:static unsigned long bfq_bfqq_softrt_next_start(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:unsigned long

参数:

类型参数名称
struct bfq_data *bfqd>bfq_slice_idle tends to filter out greedy applications,
struct bfq_queue *bfqq>soft_rt_next_start is constantly used to lower-bound the
3876  返回:三数取大(Minimum time instant such that, only if a new request is* enqueued after this time instant in an idle @bfq_queue with* no outstanding requests, then the task associated with the* queue it is deemed as soft real-time (see the comments on* the function , Time of the last transition of the @bfq_queue from idle to* backlogged. + HZ * Cumulative service received from the @bfq_queue since the* last transition from idle to backlogged. / Max service-rate for a soft real-time queue, in sectors/sec , jiffies + secs_to_jiffies - Convert nsecs in u64 to jiffies*@n: nsecs in u64* Unlike {m,u}secs_to_jiffies, type of input is not unsigned int but u64.* And this doesn't return MAX_JIFFY_OFFSET since this function is designed + 4)
调用者
名称描述
bfq_bfqq_expireq_bfqq_expire - expire a queue.*@bfqd: device owning the queue.*@bfqq: the queue to expire.*@compensate: if true, compensate for the time spent idling.*@reason: the reason causing the expiration.* If the process associated with bfqq does slow I/O (e
bfq_completed_request