Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xa_init_flags() - Initialise an empty XArray with flags.*@xa: XArray.*@flags: XA_FLAG values.* If you need to initialise an XArray with special flags (eg you need* to take the lock from interrupt context), use this function instead* of xa_init().

Proto:static inline void xa_init_flags(struct xarray *xa, gfp_t flags)

Type:void

Parameter:

TypeParameterName
struct xarray *xa
gfp_tflags
376  Process spin lock initialization( & xa_lock)
377  private: The rest of the data structure is not to be used directly. = flags
378  xa_head = NULL
Caller
NameDescribe
init_swap_address_space
__address_space_init_once