函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kyber_init_sched

函数原型:static int kyber_init_sched(struct request_queue *q, struct elevator_type *e)

返回类型:int

参数:

类型参数名称
struct request_queue *q
struct elevator_type *e
421  eq等于elevator_alloc(q, e)
422  如果非eq则返回:负ENOMEM
425  kqd等于kyber_queue_data_alloc(q)
426  如果是错误
427  递减引用计数对象
428  返回:错误
431  blk_stat_enable_accounting(q)
433  elevator_data等于kqd
434  elevator等于eq
436  返回:0