Function report |
Source Code:block\blk-core.c |
Create Date:2022-07-28 16:59:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lk_cleanup_queue - shutdown a request queue*@q: request queue to shutdown* Mark @q DYING, drain all pending requests, mark @q DEAD, destroy and* put it. All future requests will be failed immediately with -ENODEV.
Proto:void blk_cleanup_queue(struct request_queue *q)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q |
| 345 | blk_set_queue_dying(q) |
| 356 | blk_freeze_queue(q) |
| 358 | rq_qos_exit(q) |
| 363 | blk_flush_integrity() |
| 366 | del_timer_sync( & laptop_mode_wb_timer) |
| 369 | If queue_is_mq(q) Then blk_mq_exit_queue(q) |
| 380 | mutex_lock( & sysfs_lock) |
| 381 | If elevator Then blk_mq_sched_free_requests(q) |
| 388 | blk_put_queue(q) |
| Name | Describe |
|---|---|
| blk_mq_init_queue | |
| bsg_remove_queue | |
| bsg_setup_queue | sg_setup_queue - Create and add the bsg hooks so we can receive requests*@dev: device to attach bsg device to*@name: device to give bsg device*@job_fn: bsg job handler*@timeout: timeout handler function pointer*@dd_job_size: size of LLD data needed for |
| 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 |