Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void *xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
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  Return curr
Caller
NameDescribe
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