函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:elv_register

函数原型:int elv_register(struct elevator_type *e)

返回类型:int

参数:

类型参数名称
struct elevator_type *e
533  如果 see iocontext.h
534  如果WARN_ON( see iocontext.h < sizeof(structio_cq))或WARN_ON( ditto < __alignof__(structio_cq))则返回:负EINVAL
538  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
540  managed by elevator core 等于创建高速缓存区
542  如果非 managed by elevator core 则返回:负ENOMEM
547  加自旋锁
548  如果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.
549  自旋锁解锁
550  删除高速缓存区
551  返回:负EBUSY
553  添加链表项
554  自旋锁解锁
556  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
558  返回:0
调用者
名称描述
deadline_init
kyber_init
bfq_init