函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_find_1

函数原型:static noinline void check_find_1(struct xarray *xa)

返回类型:void

参数:

类型参数名称
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 i小于100循环
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 j小于i循环
976  XA_BUG_ON(xa, xa_store_index(xa, j, GFP_KERNEL) != NULL)
979 k小于100循环
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.)
调用者
名称描述
check_find