函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_xas_erase

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

返回类型:void

参数:

类型参数名称
struct xarray *xa
466  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)
470 i小于200循环
471 j小于2乘i加17循环
473  循环
480  xas_set() - Set up XArray operation state for a different index
481  循环
482  xas_lock( & xas)
484  xas_unlock( & xas)
485 xas_nomem() - Allocate memory if needed.*@xas: XArray operation state.*@gfp: Memory allocation flags.* If we need to add new nodes to the XArray, we try to allocate memory* with GFP_NOWAIT while holding the lock, which will usually succeed.循环
487  xas_lock( & xas)
488  xas_store() - Store this entry in the XArray
490  xas_set() - Set up XArray operation state for a different index
491  j等于i
493  XA_BUG_ON(xa, entry != xa_mk_index(j))
494  xas_store() - Store this entry in the XArray
495  j自加
497  xas_unlock( & xas)
498  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.)
调用者
名称描述
xarray_checks