函数逻辑报告

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

函数名称:xas_update

函数原型:static void xas_update(struct xa_state *xas, struct xa_node *node)

返回类型:void

参数:

类型参数名称
struct xa_state *xas
struct xa_node *node
349  如果xa_updatexa_update(node)
351  否则XA_NODE_BUG_ON(node, !链表为空)
调用者
名称描述
xas_alloc
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
xas_expandxas_expand adds nodes to the head of the tree until it has reached* sufficient height to be able to contain @xas->xa_index
update_node