Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xas_lock_type

Proto:static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
unsigned intlock_type
38  If lock_type == XA_LOCK_IRQ Then xas_lock_irq(xas)
40  Else if lock_type == XA_LOCK_BH Then xas_lock_bh(xas)
42  Else xas_lock(xas)
Caller
NameDescribe
__xas_nomem__xas_nomem() - Drop locks and allocate memory if needed.*@xas: XArray operation state.*@gfp: Memory allocation flags.* Internal variant of xas_nomem().* Return: true if memory was needed, and was successfully allocated.