Function report |
Source Code:block\blk-mq-tag.c |
Create Date:2022-07-28 17:13:06 |
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_tag_update_depth
Proto:int blk_mq_tag_update_depth(struct blk_mq_hw_ctx *hctx, struct blk_mq_tags **tagsptr, unsigned int tdepth, bool can_grow)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct blk_mq_hw_ctx * | hctx | |
struct blk_mq_tags ** | tagsptr | |
unsigned int | tdepth | |
bool | can_grow |
489 | If tdepth <= nr_reserved_tags Then Return -EINVAL |
508 | If tdepth > 16 * Default maximum Then Return -EINVAL |
511 | new = blk_mq_alloc_rq_map(set, @queue_num: Index of this hardware queue. , tdepth, nr_reserved_tags) |
516 | If ret Then |
517 | blk_mq_free_rq_map(new) |
518 | Return -ENOMEM |
522 | blk_mq_free_rq_map( * tagsptr) |
524 | Else |
529 | sbitmap_queue_resize( & bitmap_tags, tdepth - nr_reserved_tags) |
533 | Return 0 |
Name | Describe |
---|---|
blk_mq_update_nr_requests |
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 |