Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xarray.c Create Date:2022-07-28 06:13:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:move the index either forwards (find) or backwards (sibling slot)

Proto:static void xas_move_index(struct xa_state *xas, unsigned long offset)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
unsigned longoffset
155  shift = Bits remaining in each slot
156  xa_index &= ~XA_CHUNK_MASK << shift
157  xa_index += offset << shift
Caller
NameDescribe
xas_advance
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