函数逻辑报告

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

函数名称:Returns the number of indices covered by a given xa_state

函数原型:static unsigned long xas_size(const struct xa_state *xas)

返回类型:unsigned long

参数:

类型参数名称
const struct xa_state *xas
399  返回:xa_sibs加1UL左移xa_shift
调用者
名称描述
xas_maxUse this to calculate the maximum index that will need to be created* in order to add the entry described by @xas. Because we cannot store a* multiple-index entry at index 0, the calculation is a little more complex* than you might expect.
xa_store_rangexa_store_range() - Store this entry at a range of indices in the XArray