Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:13:01 |
| Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__radix_tree_create
Proto:static int __radix_tree_create(struct xarray *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xarray * | root | |
| unsigned long | index | |
| struct radix_tree_node ** | nodep | |
| void __rcu *** | slotp |
| 615 | offset = 0 |
| 617 | gfp = root_gfp_mask(root) |
| 619 | shift = radix_tree_load_root(root, & child, & maxindex) |
| 632 | If (child == NULL) Then |
| 634 | child = This assumes that the caller has performed appropriate preallocation, and* that the caller has pinned this thread of control to the current CPU. |
| 641 | Else if Not radix_tree_is_internal_node(child) Then Break |
| 645 | node = entry_to_node(child) |
| 646 | offset = radix_tree_descend(node, & child, index) |
| 654 | Return 0 |
| Name | Describe |
|---|---|
| radix_tree_insert | __radix_tree_insert - insert into a radix tree*@root: radix tree root*@index: index key*@item: item to insert* Insert an item into the radix tree at position @index. |
| 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 |