函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xas_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

函数原型:static inline void *xas_next_entry(struct xa_state *xas, unsigned long max)

返回类型:void

参数:

类型参数名称
struct xa_state *xas
unsigned longmax
1592  node等于xa_node
1595  如果此条件成立可能性小(为编译器优化)(True if the pointer is something other than a node || Bits remaining in each slot || xa_offset != (xa_index & XA_CHUNK_MASK))则返回:xas_find() - Find the next present entry in the XArray
1599  循环
1600  如果此条件成立可能性小(为编译器优化)(xa_index >= max)则返回:xas_find() - Find the next present entry in the XArray
1602  如果此条件成立可能性小(为编译器优化)(xa_offset == XA_CHUNK_MASK)则返回:xas_find() - Find the next present entry in the XArray
1604  entry等于Private
1605  如果此条件成立可能性小(为编译器优化)(xa_is_internal() - Is the entry an internal entry?*@entry: XArray entry.* Context: Any context.* Return: %true if the entry is an internal entry.)则返回:xas_find() - Find the next present entry in the XArray
1607  xa_offset自加
1608  xa_index自加
1609  当非entry循环
1611  返回:entry
调用者
名称描述
check_xas_retry