Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_find_2

Proto:static noinline void check_find_2(struct xarray *xa)

Type:void

Parameter:

TypeParameterName
struct xarray *xa
1015  xa_for_each() - Iterate over present entries in an XArray.*@xa: XArray.*@index: Index of @entry.*@entry: Entry retrieved from array.* During the iteration, @entry will have the value of the entry stored* in @xa at @index(xa, index, entry)
1016  XA_BUG_ON(xa, true)
1019  When i < 1024 cycle
1020  xa_store_index(xa, index, GFP_KERNEL)
1021  j = 0
1024  XA_BUG_ON(xa, index != j++)
1028  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_find