函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xarray.c Create Date:2022-07-27 07:10:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:xa_node_free

函数原型:static void xa_node_free(struct xa_node *node)

返回类型:void

参数:

类型参数名称
struct xa_node *node
256  XA_NODE_BUG_ON(node, !链表为空)
257  The array we belong to 等于XA_RCU_FREE
258  Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.
调用者
名称描述
xas_shrink
xas_delete_nodexas_delete_node() - Attempt to delete an xa_node*@xas: Array operation state.* Attempts to delete the @xas->xa_node. This will fail if xa->node has* a non-zero reference count.
xas_free_nodesxas_free_nodes() - Free this node and all nodes that it references*@xas: Array operation state.*@top: Node to free* This node has been removed from the tree. We must now free it and all* of its subnodes