函数逻辑报告

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(const struct xarray *xa, const struct xa_node *node, unsigned int offset)

返回类型:void

参数:

类型参数名称
const struct xarray *xa
const struct xa_node *node
unsigned intoffset
1179  XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE)
1180  返回: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))
调用者
名称描述
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
xas_reloadxas_reload() - Refetch an entry from the xarray
xas_next_entryxas_next_entry() - Advance iterator to next present entry.*@xas: XArray operation state.*@max: Highest index to return.* xas_next_entry() is an inline function to optimise xarray traversal for* speed
xas_next_markedxas_next_marked() - Advance iterator to next marked entry.*@xas: XArray operation state.*@max: Highest index to return.*@mark: Mark to search for.* xas_next_marked() is an inline function to optimise xarray traversal for* speed
xas_prevxas_prev() - Move iterator to previous index.*@xas: XArray operation state.* If the @xas was in an error state, it will remain in an error state* and this function will return %NULL. If the @xas has never been walked,
xas_nextxas_next() - Move state to next index.*@xas: XArray operation state.* If the @xas was in an error state, it will remain in an error state* and this function will return %NULL. If the @xas has never been walked,