函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void *xa_erase(struct xarray *xa, unsigned long index)

返回类型:void

参数:

类型参数名称
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  返回:entry
调用者
名称描述
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.