函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xa_track_free

函数原型:static inline bool xa_track_free(const struct xarray *xa)

返回类型:bool

参数:

类型参数名称
const struct xarray *xa
58  返回:private: The rest of the data structure is not to be used directly. 按位与XA_FLAGS_TRACK_FREE
调用者
名称描述
xas_shrink
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_createxas_create() - Create a slot to store an entry in.*@xas: XArray operation state.*@allow_root: %true if we can store the entry in the root directly* Most users will not need to call this function directly, as it is called* by xas_store()
xas_init_marksxas_init_marks() - Initialise all marks for the entry*@xas: Array operations state
__xa_store__xa_store() - Store this entry in the XArray
__xa_cmpxchg__xa_cmpxchg() - Store this entry in the XArray
__xa_insert__xa_insert() - Store this entry in the XArray if no entry is present.*@xa: XArray.*@index: Index into array.*@entry: New entry.*@gfp: Memory allocation flags.* Inserting a NULL entry will store a reserved entry (like xa_reserve())* if no entry is present
__xa_alloc
__xa_alloc__xa_alloc() - Find somewhere to store this entry in the XArray