Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:__radix_tree_delete

Proto:static bool __radix_tree_delete(struct xarray *root, struct radix_tree_node *node, void __rcu **slot)

Type:bool

Parameter:

TypeParameterName
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)
1382  If is_idr(root) Then node_tag_set(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)
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)
Caller
NameDescribe
radix_tree_iter_deleteadix_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_itemadix_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