函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:deadline_check_fifo returns 0 if there are no expired requests on the fifo,* 1 otherwise. Requires !list_empty(&dd->fifo_list[data_dir])

函数原型:static inline int deadline_check_fifo(struct deadline_data *dd, int ddir)

返回类型:int

参数:

类型参数名称
struct deadline_data *dd
intddir
185  rq等于rq_entry_fifo(链表后项)
190  如果time_after_eq(jiffies, (unsignedlong)fifo_time)则返回:1
193  返回:0
调用者
名称描述
__dd_dispatch_requestdeadline_dispatch_requests selects the best request according to* read/write expire, fifo_batch, etc