Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xa_erase() - Erase this entry from the XArray.*@xa: XArray.*@index: Index of entry.* After this function returns, loading from @index will return %NULL.* If the index is part of a multi-index entry, all indices will be erased

Proto:void *xa_erase(struct xarray *xa, unsigned long index)

Type:void

Parameter:

TypeParameterName
struct xarray *xa
unsigned longindex
1357  xa_lock(xa)
1358  entry = __xa_erase() - Erase this entry from the XArray while locked.*@xa: XArray.*@index: Index into array.* After this function returns, loading from @index will return %NULL.* If the index is part of a multi-index entry, all indices will be erased
1359  xa_unlock(xa)
1361  Return entry
Caller
NameDescribe
xa_erase_index
check_xa_err
check_reserve
check_multi_store
check_xa_alloc_2
check_align_2We should always be able to store without allocating memory after* reserving a slot.
check_accountCheck that the pointer / value / sibling entries are accounted the* way we expect them to be.