函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:levator_match - Test an elevator name and features*@e: Scheduler to test*@name: Elevator name to test*@required_features: Features that the elevator must provide* Return true is the elevator @e name matches @name and if @e provides all the

函数原型:static bool elevator_match(const struct elevator_type *e, const char *name, unsigned int required_features)

返回类型:bool

参数:

类型参数名称
const struct elevator_type *e
const char *name
unsigned intrequired_features
104  如果非elv_support_features(elevator_features, required_features)则返回:false
106  如果非strcmp(elevator_name, name)则返回:true
108  如果elevator_alias且非字符串比较则返回:true
111  返回:false
调用者
名称描述
elevator_findlevator_find - Find an elevator*@name: Name of the elevator to find*@required_features: Features that the elevator must provide* Return the first registered scheduler with name @name and supporting the* features @required_features and NULL otherwise.
__elevator_changeSwitch this queue to the given IO scheduler.
elv_iosched_show