Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_multi_store_3

Proto:static noinline void check_multi_store_3(struct xarray *xa, unsigned long index, unsigned int order)

Type:void

Parameter:

TypeParameterName
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.
Caller
NameDescribe
check_multi_store