Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\xarray.h Create Date:2022-07-28 05:42:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Private

Proto:static inline void *xa_entry(const struct xarray *xa, const struct xa_node *node, unsigned int offset)

Type:void

Parameter:

TypeParameterName
const struct xarray *xa
const struct xa_node *node
unsigned intoffset
1179  XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE)
1180  Return cu_dereference_check() - rcu_dereference with debug checking*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Do an rcu_dereference(), but check that the conditions under which the(slots[offset], lockdep_is_held( & xa_lock))
Caller
NameDescribe
xas_descend
xas_pausexas_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
__xas_prev__xas_prev() - Find the previous entry in the XArray.*@xas: XArray operation state.* Helper function for xas_prev() which handles all the complex cases* out of line.
__xas_next__xas_next() - Find the next entry in the XArray.*@xas: XArray operation state.* Helper function for xas_next() which handles all the complex cases* out of line.
xas_findxas_find() - Find the next present entry in the XArray
xas_find_markedxas_find_marked() - Find the next marked entry in the XArray.*@xas: XArray operation state.*@max: Highest index to return.*@mark: Mark number to search for.* If the @xas has not yet been walked to an entry, return the marked entry