Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:13:04 |
| Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:calculate_count
Proto:static int calculate_count(struct xarray *root, struct radix_tree_node *node, void __rcu **slot, void *item, void *old)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xarray * | root | |
| struct radix_tree_node * | node | |
| void __rcu ** | slot | |
| void * | item | |
| void * | old |
| 865 | offset = get_slot_offset(node, slot) |
| 866 | free = node_tag_get(root, node, The IDR API does not expose the tagging functionality of the radix tree* to users. Use tag 0 to track whether a node has free space below it., offset) |
| 867 | If Not free Then Return 0 |
| 869 | If Not old Then Return 1 |
| Name | Describe |
|---|---|
| __radix_tree_replace |
| 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 |