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:xtracts the offset within this node from the index

Proto:static unsigned int get_offset(unsigned long index, struct xa_node *node)

Type:unsigned int

Parameter:

TypeParameterName
unsigned longindex
struct xa_node *node
144  Return index >> Bits remaining in each slot & XA_CHUNK_MASK
Caller
NameDescribe
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.