Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xarray.c Create Date:2022-07-28 06:13:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:update_node

Proto:static void update_node(struct xa_state *xas, struct xa_node *node, int count, int values)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
struct xa_node *node
intcount
intvalues
744  If Not node || Not count && Not values Then Return
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  If count < 0 Then 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.
Caller
NameDescribe
xas_storexas_store() - Store this entry in the XArray