函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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().

函数原型:static inline void xa_init_flags(struct xarray *xa, gfp_t flags)

返回类型:void

参数:

类型参数名称
struct xarray *xa
gfp_tflags
376  spin_lock_init( & xa_lock)
377  private: The rest of the data structure is not to be used directly. 等于flags
378  xa_head = NULL
调用者
名称描述
init_swap_address_space
__address_space_init_once
xa_initxa_init() - Initialise an empty XArray.*@xa: XArray.* An empty XArray is full of NULL entries.* Context: Any context.
ida_init