函数逻辑报告

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

函数名称:xtracts the offset within this node from the index

函数原型:static unsigned int get_offset(unsigned long index, struct xa_node *node)

返回类型:unsigned int

参数:

类型参数名称
unsigned longindex
struct xa_node *node
144  返回:index右移Bits remaining in each slot 位按位与XA_CHUNK_MASK
调用者
名称描述
xas_set_offset
xas_descend
__xas_prev__xas_prev() - Find the previous entry in the XArray.*@xas: XArray operation state.* Helper function for xas_prev() which handles all the complex cases* out of line.
__xas_next__xas_next() - Find the next entry in the XArray.*@xas: XArray operation state.* Helper function for xas_next() which handles all the complex cases* out of line.