函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_multi_store_3

函数原型:static noinline void check_multi_store_3(struct xarray *xa, unsigned long index, unsigned int order)

返回类型:void

参数:

类型参数名称
struct xarray *xa
unsigned longindex
unsigned intorder
545  XA_STATE() - Declare an XArray operation state.*@name: Name of this operation state (usually xas).*@array: Array to operate on.*@index: Initial index of interest.* Declare and initialise an xa_state on the stack.(xas, xa, 0)
547  n等于0
549  If anyone needs this, please move it to xarray.c. We have no current* users outside the test suite because all current multislot users want* to use the advanced API.
551  xas_lock( & xas)
553  XA_BUG_ON(xa, entry != xa_mk_index(index))
554  n自加
556  XA_BUG_ON(xa, n != 1)
557  xas_set() - Set up XArray operation state for a different index
559  XA_BUG_ON(xa, entry != xa_mk_index(index))
560  n自加
562  XA_BUG_ON(xa, n != 2)
563  xas_unlock( & xas)
565  xa_destroy() - Free all internal data structures.*@xa: XArray.* After calling this function, the XArray is empty and has freed all memory* allocated for its internal data structures. You are responsible for* freeing the objects referenced by the XArray.
调用者
名称描述
check_multi_store