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_locked(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
1188  XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE)
1189  Return cu_dereference_protected() - fetch RCU pointer when updates prevented*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Return the value of the specified RCU-protected pointer, but omit(slots[offset], lockdep_is_held( & xa_lock))
Caller
NameDescribe
xas_shrink
xas_free_nodesxas_free_nodes() - Free this node and all nodes that it references*@xas: Array operation state.*@top: Node to free* This node has been removed from the tree. We must now free it and all* of its subnodes
xas_createxas_create() - Create a slot to store an entry in.*@xas: XArray operation state.*@allow_root: %true if we can store the entry in the root directly* Most users will not need to call this function directly, as it is called* by xas_store()
xas_storexas_store() - Store this entry in the XArray
xas_find_conflictxas_find_conflict() - Find the next present entry in a range.*@xas: XArray operation state.* The @xas describes both a range and a position within that range.* Context: Any context. Expects xa_lock to be held.
check_xa_shrink