函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:move the index either forwards (find) or backwards (sibling slot)

函数原型:static void xas_move_index(struct xa_state *xas, unsigned long offset)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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