函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xa_store() - Store this entry in the XArray.*@xa: XArray.*@index: Index into array.*@entry: New entry.*@gfp: Memory allocation flags.* After this function returns, loads from this index will return @entry.

函数原型:void *xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp)

返回类型:void

参数:

类型参数名称
struct xarray *xa
unsigned longindex
void *entry
gfp_tgfp
1421  xa_lock(xa)
1422  curr等于__xa_store() - Store this entry in the XArray
1423  xa_unlock(xa)
1425  返回:curr
调用者
名称描述
xa_store_index
check_xa_err
check_multi_store
check_xa_alloc_2
check_align_2We should always be able to store without allocating memory after* reserving a slot.
check_destroy
init_ftrace_syscalls