Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\radix-tree.c Create Date:2022-07-28 06:13:00
Last Modify:2022-05-21 10:04:37 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:delete_node

Proto:static bool delete_node(struct xarray *root, struct radix_tree_node *node)

Type:bool

Parameter:

TypeParameterName
struct xarray *root
struct radix_tree_node *node
556  bool deleted = false
558  Do
561  If count Then
565  Return deleted
568  parent = parent
569  If parent Then
570  slots[offset] = NULL
571  count--
572  Else
577  If Not is_idr(root) Then root_tag_clear_all(root)
579  xa_head = NULL
582  WARN_ON_ONCE(!list_empty - tests whether a list is empty*@head: the list to test.)
583  radix_tree_node_free(node)
584  deleted = true
586  node = parent
587  When node cycle
589  Return deleted
Caller
NameDescribe
__radix_tree_replace
__radix_tree_delete