Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:13:11 |
| Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void *radix_tree_delete_item(struct xarray *root, unsigned long index, void *item)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xarray * | root | |
| unsigned long | index | |
| void * | item |
| 1426 | struct node = NULL |
| 1431 | If Not slot Then Return NULL |
| 1433 | If Not entry && ( Not is_idr(root) || 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., get_slot_offset(node, slot))) Then Return NULL |
| 1440 | __radix_tree_delete(root, node, slot) |
| 1442 | Return entry |
| Name | Describe |
|---|---|
| radix_tree_delete | adix_tree_delete - delete an entry from a radix tree*@root: radix tree root*@index: index key* Remove the entry at @index from the radix tree rooted at @root.* Return: The deleted entry, or %NULL if it was not present. |
| idr_remove | dr_remove() - Remove an ID from the IDR |
| 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 |