Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:11:42 |
| Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blk_mq_alloc_rq_maps
Proto:static int __blk_mq_alloc_rq_maps(struct blk_mq_tag_set *set)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct blk_mq_tag_set * | set |
| 2914 | When i < nr_hw_queues cycle If Not __blk_mq_alloc_rq_map(set, i) Then |
| 2916 | Go to out_unwind |
| 2918 | Return 0 |
| 2920 | out_unwind : |
| 2922 | blk_mq_free_rq_map(tags[i]) |
| 2924 | Return -ENOMEM |
| Name | Describe |
|---|---|
| blk_mq_alloc_rq_maps | Allocate the request maps associated with this tag_set. Note that this* may reduce the depth asked for, if memory is tight. set->queue_depth* will be updated to reflect the allocated depth. |
| 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 |