Function report |
Source Code:block\blk-mq-sysfs.c |
Create Date:2022-07-28 17:14:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_mq_sysfs_register
Proto:int blk_mq_sysfs_register(struct request_queue *q)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q |
| 368 | ret = 0 |
| 370 | mutex_lock( & sysfs_dir_lock) |
| 371 | If Not mq_sysfs_init_done Then Go to unlock |
| 375 | ret = blk_mq_register_hctx(hctx) |
| 376 | If ret Then Break |
| 380 | unlock : |
| 383 | Return ret |
| 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 |