函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xas_unlock_type

函数原型:static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type)

返回类型:void

参数:

类型参数名称
struct xa_state *xas
unsigned intlock_type
48  如果lock_type恒等于XA_LOCK_IRQxas_unlock_irq(xas)
50  否则如果lock_type恒等于XA_LOCK_BHxas_unlock_bh(xas)
52  否则xas_unlock(xas)
调用者
名称描述
__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.