Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\xarray.h Create Date:2022-07-28 05:42:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:xa_alloc

Proto:static inline __must_check int xa_alloc(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
struct xarray *xa
u32 *id
void *entry
struct xa_limitlimit
gfp_tgfp
857  xa_lock(xa)
858  err = __xa_alloc(xa, id, entry, limit, gfp)
859  xa_unlock(xa)
861  Return err