函数逻辑报告 |
Source Code:block\elevator.c |
Create Date:2022-07-27 18:32:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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 int | required_features |
104 | 如果非elv_support_features(elevator_features, required_features)则返回:false |
106 | 如果非strcmp(elevator_name, name)则返回:true |
108 | 如果elevator_alias且非字符串比较则返回:true |
111 | 返回:false |
名称 | 描述 |
---|---|
elevator_find | levator_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_change | Switch this queue to the given IO scheduler. |
elv_iosched_show |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |