函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline bool xas_valid(const struct xa_state *xas)

返回类型:bool

参数:

类型参数名称
const struct xa_state *xas
1423  返回:非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.
调用者
名称描述
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
xas_is_nodexas_is_node() - Does the xas point to a node?*@xas: XArray operation state.* Return: %true if the xas currently references a node.