函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:elv_iosched_show

函数原型:ssize_t elv_iosched_show(struct request_queue *q, char *name)

返回类型:ssize_t

参数:

类型参数名称
struct request_queue *q
char *name
779  e等于elevator
780  struct elevator_type * elv = NULL
782  len等于0
784  如果非queue_is_mq(q)则返回:输出格式化串
787  如果非elevatorlen加等于输出格式化串
789  否则elv等于type
792  加自旋锁
794  如果elvlevator_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
795  len加等于输出格式化串
796  继续下一循环
798  如果elv_support_iosched(q)且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 thelen加等于输出格式化串
803  自旋锁解锁
805  如果elevatorlen加等于输出格式化串
808  len加等于输出格式化串
809  返回:len