Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:13:10 |
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_delete
Proto:static bool __radix_tree_delete(struct xarray *root, struct radix_tree_node *node, void __rcu **slot)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct xarray * | root | |
struct radix_tree_node * | node | |
void __rcu ** | slot |
1377 | old = Dependency order vs. p above. ( * slot) |
1378 | values = If xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer. Then -1 Else 0 |
1379 | offset = get_slot_offset(node, slot) |
1384 | Else When tag < RADIX_TREE_MAX_TAGS cycle |
1386 | node_tag_clear(root, node, tag, offset) |
1388 | replace_slot(slot, NULL, node, - 1, values) |
1389 | Return node && delete_node(root, node) |
Name | Describe |
---|---|
radix_tree_iter_delete | adix_tree_iter_delete - delete the entry at this iterator position*@root: radix tree root*@iter: iterator state*@slot: pointer to slot* Delete the entry at the position currently pointed to by the iterator |
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 |
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 |