Function report |
Source Code:block\blk-ioc.c |
Create Date:2022-07-28 17:04:31 |
| Last Modify:2020-03-17 23:16:06 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_create_icq - create and link io_cq*@ioc: io_context of interest*@q: request_queue of interest*@gfp_mask: allocation mask* Make sure io_cq linking @ioc and @q exists
Proto:struct io_cq *ioc_create_icq(struct io_context *ioc, struct request_queue *q, gfp_t gfp_mask)
Type:struct io_cq
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_context * | ioc | |
| struct request_queue * | q | |
| gfp_t | gfp_mask |
| 372 | icq = kmem_cache_alloc_node( managed by elevator core , gfp_mask | __GFP_ZERO, node) |
| 374 | If Not icq Then Return NULL |
| 379 | Return NULL |
| 385 | INIT_HLIST_NODE( & ioc_node) |
| 388 | spin_lock_irq( & queue_lock) |
| 392 | hlist_add_head( & ioc_node, & icq_list) |
| 396 | Else |
| 404 | spin_unlock_irq( & queue_lock) |
| 405 | radix_tree_preload_end() |
| 406 | Return icq |
| Name | Describe |
|---|---|
| blk_mq_sched_assign_ioc |
| 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 |