Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static inline void *xas_next_entry(struct xa_state *xas, unsigned long max)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
unsigned longmax
1592  node = xa_node
1595  If Value for the false possibility is greater at compile time(True if the pointer is something other than a node || Bits remaining in each slot || xa_offset != (xa_index & XA_CHUNK_MASK)) Then Return xas_find() - Find the next present entry in the XArray
1599  Do
1600  If Value for the false possibility is greater at compile time(xa_index >= max) Then Return xas_find() - Find the next present entry in the XArray
1602  If Value for the false possibility is greater at compile time(xa_offset == XA_CHUNK_MASK) Then Return xas_find() - Find the next present entry in the XArray
1604  entry = Private
1605  If Value for the false possibility is greater at compile time(xa_is_internal() - Is the entry an internal entry?*@entry: XArray entry.* Context: Any context.* Return: %true if the entry is an internal entry.) Then Return xas_find() - Find the next present entry in the XArray
1607  xa_offset++
1608  xa_index++
1609  When Not entry cycle
1611  Return entry
Caller
NameDescribe
check_xas_retry