Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:13:03 |
| 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_lookup
Proto:void *__radix_tree_lookup(const struct xarray *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct xarray * | root | |
| unsigned long | index | |
| struct radix_tree_node ** | nodep | |
| void __rcu *** | slotp |
| 765 | restart : |
| 766 | parent = NULL |
| 768 | radix_tree_load_root(root, & node, & maxindex) |
| 772 | When radix_tree_is_internal_node(node) cycle |
| 775 | parent = entry_to_node(node) |
| 776 | offset = radix_tree_descend(parent, & node, index) |
| 778 | If node == RADIX_TREE_RETRY Then Go to restart |
| 780 | If shift == 0 Then Break |
| 788 | Return node |
| Name | Describe |
|---|---|
| radix_tree_lookup_slot | adix_tree_lookup_slot - lookup a slot in a radix tree*@root: radix tree root*@index: index key* Returns: the slot corresponding to the position @index in the* radix tree @root |
| radix_tree_lookup | adix_tree_lookup - perform lookup operation on a radix tree*@root: radix tree root*@index: index key* Lookup the item at the position @index in the radix tree @root.* This function can be called under rcu_read_lock, however the caller |
| radix_tree_delete_item | adix_tree_delete_item - delete an item from a radix tree*@root: radix tree root*@index: index key*@item: expected item* Remove @item at @index from the radix tree rooted at @root.* Return: the deleted entry, or %NULL if it was not present |
| idr_replace | dr_replace() - replace pointer for given ID |
| 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 |