Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static inline int deadline_check_fifo(struct deadline_data *dd, int ddir)

Type:int

Parameter:

TypeParameterName
struct deadline_data *dd
intddir
185  rq = rq_entry_fifo(next)
190  If time_after_eq(jiffies, (unsignedlong)fifo_time) Then Return 1
193  Return 0
Caller
NameDescribe
__dd_dispatch_requestdeadline_dispatch_requests selects the best request according to* read/write expire, fifo_batch, etc