Function report |
Source Code:block\blk-mq-tag.c |
Create Date:2022-07-28 17:13:00 |
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_init_bitmap_tags
Proto:static struct blk_mq_tags *blk_mq_init_bitmap_tags(struct blk_mq_tags *tags, int node, int alloc_policy)
Type:struct blk_mq_tags
Parameter:
Type | Parameter | Name |
---|---|---|
struct blk_mq_tags * | tags | |
int | node | |
int | alloc_policy |
438 | depth = nr_tags - nr_reserved_tags |
441 | If bt_alloc( & bitmap_tags, depth, round_robin, node) Then Go to free_tags |
443 | If bt_alloc( & breserved_tags, nr_reserved_tags, round_robin, node) Then Go to free_bitmap_tags |
447 | Return tags |
448 | free_bitmap_tags : |
450 | free_tags : |
452 | Return NULL |
Name | Describe |
---|---|
blk_mq_init_tags |
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 |