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:Returns the number of indices covered by a given xa_state

Proto:static unsigned long xas_size(const struct xa_state *xas)

Type:unsigned long

Parameter:

TypeParameterName
const struct xa_state *xas
399  Return xa_sibs + 1UL << xa_shift
Caller
NameDescribe
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