函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:For single queue devices, default to using mq-deadline. If we have multiple* queues or mq-deadline is not available, default to "none".

函数原型:static struct elevator_type *elevator_get_default(struct request_queue *q)

返回类型:struct elevator_type

参数:

类型参数名称
struct request_queue *q
631  如果nr_hw_queues不等于1则返回:NULL
634  返回:elevator_get(q, "mq-deadline", false)
调用者
名称描述
elevator_init_mqFor a device queue that has no required features, use the default elevator* settings. Otherwise, use the first elevator available matching the required* features. If no suitable elevator is find or if the chosen elevator