Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\elevator.c Create Date:2022-07-28 16:57:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static struct elevator_type *elevator_find(const char *name, unsigned int required_features)

Type:struct elevator_type

Parameter:

TypeParameterName
const char *name
unsigned intrequired_features
128  If 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 Then Return e
132  Return NULL
Caller
NameDescribe
elevator_get
elv_register