Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xas_valid() - Is the xas a valid cursor into the array?*@xas: XArray operation state.* Return: %true if the xas can be used for operations.

Proto:static inline bool xas_valid(const struct xa_state *xas)

Type:bool

Parameter:

TypeParameterName
const struct xa_state *xas
1423  Return Not xas_invalid() - Is the xas in a retry or error state?*@xas: XArray operation state.* Return: %true if the xas cannot be used for operations.
Caller
NameDescribe
xas_startStarts a walk. If the @xas is already valid, we assume that it's on* the right path and just return where we've got to. If we're in an* error state, return NULL. If the index is outside the current scope