函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:update_node

函数原型:static void update_node(struct xa_state *xas, struct xa_node *node, int count, int values)

返回类型:void

参数:

类型参数名称
struct xa_state *xas
struct xa_node *node
intcount
intvalues
744  如果非node或非count且非values则返回
747  Total entry count 加等于count
748  Value entry count 加等于values
749  XA_NODE_BUG_ON(node, Total entry count > XA_CHUNK_SIZE)
750  XA_NODE_BUG_ON(node, Value entry count > XA_CHUNK_SIZE)
751  xas_update(xas, node)
752  如果count小于0则xas_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_storexas_store() - Store this entry in the XArray