函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Private

函数原型:static inline void *xa_entry_locked(const struct xarray *xa, const struct xa_node *node, unsigned int offset)

返回类型:void

参数:

类型参数名称
const struct xarray *xa
const struct xa_node *node
unsigned intoffset
1188  XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE)
1189  返回: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))
调用者
名称描述
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