函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return expired entry, or NULL to just start from scratch in rbtree.

函数原型:static struct request *bfq_check_fifo(struct bfq_queue *bfqq, struct request *last)

返回类型:struct request

参数:

类型参数名称
struct bfq_queue *bfqq
struct request *last
876  如果bfq_bfqq_fifo_expire(bfqq)则返回:NULL
879  bfq_mark_bfqq_fifo_expire(bfqq)
881  rq等于rq_entry_fifo(链表后项)
883  如果rq恒等于lastktime_get_ns()小于fifo_time则返回:NULL
886  bfq_log_bfqq(parent bfq_data , bfqq, "check_fifo: returned %p", rq)
887  返回:rq
调用者
名称描述
bfq_find_next_rq