Function report |
Source Code:block\elevator.c |
Create Date:2022-07-28 16:57:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lv_register_queue is called from either blk_register_queue or* elevator_switch, elevator switch is prevented from being happen* in the two paths, so it is safe to not hold q->sysfs_lock.
Proto:int elv_register_queue(struct request_queue *q, bool uevent)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| bool | uevent |
| 494 | If Not error Then |
| 495 | attr = elevator_attrs |
| 496 | If attr Then |
| 506 | registered = 1 |
| 508 | Return error |
| Name | Describe |
|---|---|
| elevator_switch_mq | |
| blk_register_queue | lk_register_queue - register a block layer queue with sysfs*@disk: Disk of which the request queue should be registered with sysfs. |
| 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 |