函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:The maximum index that can be contained in the array without expanding it

函数原型:static unsigned long max_index(void *entry)

返回类型:unsigned long

参数:

类型参数名称
void *entry
428  如果非Private 则返回:0
430  返回:XA_CHUNK_SIZE左移Bits remaining in each slot 位的值减1
调用者
名称描述
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