Function report |
Source Code:block\elevator.c |
Create Date:2022-07-28 16:57:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static bool elevator_match(const struct elevator_type *e, const char *name, unsigned int required_features)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct elevator_type * | e | |
const char * | name | |
unsigned int | required_features |
104 | If Not elv_support_features(elevator_features, required_features) Then Return false |
106 | If Not strcmp(elevator_name, name) Then Return true |
108 | If elevator_alias && Not strcmp(elevator_alias, name) Then Return true |
111 | Return false |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |