Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static inline void *xas_next_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
unsigned longmax
xa_mark_tmark
1650  node = xa_node
1653  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 ) Then Return xas_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
1655  offset = Private
1656  xa_offset = offset
1657  xa_index = (xa_index & ~XA_CHUNK_MASK) + offset
1658  If xa_index > max Then Return NULL
1660  If offset == XA_CHUNK_SIZE Then Return xas_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
1662  Return Private