Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:13:07 |
| Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_iter_tags
Proto:static void set_iter_tags(struct radix_tree_iter *iter, struct radix_tree_node *node, unsigned offset, unsigned tag)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct radix_tree_iter * | iter | |
| struct radix_tree_node * | node | |
| unsigned | offset | |
| unsigned | tag |
| 1124 | tag_long = offset / BITS_PER_LONG |
| 1125 | tag_bit = offset % BITS_PER_LONG |
| 1127 | If Not node Then |
| 1128 | tags = 1 |
| 1129 | Return |
| 1135 | If tag_long < RADIX_TREE_TAG_LONGS - 1 Then |
| 1141 | next_index = __radix_tree_iter_add(iter, BITS_PER_LONG) |
| Name | Describe |
|---|---|
| radix_tree_next_chunk | adix_tree_next_chunk - find next chunk of slots for iteration*@root: radix tree root*@iter: iterator state*@flags: RADIX_TREE_ITER_* flags and tag index* Returns: pointer to chunk first slot, or NULL if iteration is over |
| idr_get_free |
| 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 |