Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_find_1

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

Type:void

Parameter:

TypeParameterName
struct xarray *xa
966  XA_BUG_ON(xa, !xa_empty() - Determine if an array has any present entries.*@xa: XArray.* Context: Any context.* Return: %true if the array contains only NULL pointers.)
972  When i < 100 cycle
973  XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL)
974  xa_set_mark() - Set this mark on this entry.*@xa: XArray.*@index: Index of entry.*@mark: Mark number.* Attempting to set a mark on a %NULL entry does not succeed.* Context: Process context. Takes and releases the xa_lock.
975  When j < i cycle
976  XA_BUG_ON(xa, xa_store_index(xa, j, GFP_KERNEL) != NULL)
979  When k < 100 cycle
1000  xa_erase_index(xa, j)
1004  xa_erase_index(xa, i)
1005  XA_BUG_ON(xa, xa_get_mark() - Inquire whether this mark is set on this entry.*@xa: XArray.*@index: Index of entry.*@mark: Mark number.* This function uses the RCU read lock, so the result may be out of date* by the time it returns)
1007  XA_BUG_ON(xa, !xa_empty() - Determine if an array has any present entries.*@xa: XArray.* Context: Any context.* Return: %true if the array contains only NULL pointers.)
Caller
NameDescribe
check_find