Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The maximum index that can be contained in the array without expanding it

Proto:static unsigned long max_index(void *entry)

Type:unsigned long

Parameter:

TypeParameterName
void *entry
428  If Not Private Then Return 0
430  Return (XA_CHUNK_SIZE << Bits remaining in each slot ) - 1
Caller
NameDescribe
xas_expandxas_expand adds nodes to the head of the tree until it has reached* sufficient height to be able to contain @xas->xa_index
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