Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:bool xa_get_mark(struct xarray *xa, unsigned long index, xa_mark_t mark)

Type:bool

Parameter:

TypeParameterName
struct xarray *xa
unsigned longindex
xa_mark_tmark
1742  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, index)
1745  _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
1746  entry = Starts a walk. If the @xas is already valid, we assume that it's on* the right path and just return where we've got to. If we're in an* error state, return NULL. If the index is outside the current scope
1747  When xas_get_mark() - Returns the state of this mark.*@xas: XArray operation state.*@mark: Mark number.* Return: true if the mark is set, false if the mark is clear or @xas* is in an error state. cycle
1748  If Not Private Then Go to found
1750  entry = xas_descend( & xas, Private )
1752  _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()
1753  Return false
1754  found :
1755  _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()
1756  Return true
Caller
NameDescribe
check_xa_mark_1
check_xa_mark_2
check_find_1