Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_move_max

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

Type:void

Parameter:

TypeParameterName
struct xarray *xa
1165  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)
1167  xa_store_index(xa, ULONG_MAX, GFP_KERNEL)
1168  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1169  XA_BUG_ON(xa, xas_find() - Find the next present entry in the XArray != xa_mk_index(ULONG_MAX))
1170  XA_BUG_ON(xa, xas_find() - Find the next present entry in the XArray != NULL)
1171  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1173  xas_set() - Set up XArray operation state for a different index
1174  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1175  XA_BUG_ON(xa, xas_find() - Find the next present entry in the XArray != xa_mk_index(ULONG_MAX))
1176  xas_pause() - Pause a walk to drop a lock.*@xas: XArray operation state.* Some users need to pause a walk and drop the lock they're holding in* order to yield to a higher priority thread or carry out an operation* on an entry
1177  XA_BUG_ON(xa, xas_find() - Find the next present entry in the XArray != NULL)
1178  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1180  xa_erase_index(xa, ULONG_MAX)
1181  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_move