函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__xas_next() - Find the next entry in the XArray.*@xas: XArray operation state.* Helper function for xas_next() which handles all the complex cases* out of line.

函数原型:void *__xas_next(struct xa_state *xas)

返回类型:void

参数:

类型参数名称
struct xa_state *xas
1037  如果非True if the node represents RESTART or an error xa_index自加
1039  如果非xa_node则返回:set_bounds(xas)
1041  如果True if the pointer is something other than a node 则返回:xas_load() - Load an entry from the XArray (advanced).*@xas: XArray operation state.* Usually walks the @xas to the appropriate state to load the entry* stored at xa_index. However, it will do nothing and return %NULL if*@xas is in an error state
1044  如果xa_offset不等于xtracts the offset within this node from the index xa_offset自加
1047 xa_offset恒等于XA_CHUNK_SIZE循环
1048  xa_offset等于Slot offset in parent 加1
1049  xa_node等于Private
1050  如果非xa_node则返回:set_bounds(xas)
1054  循环
1055  entry等于Private
1056  如果非Private 则返回:entry
1059  xa_node等于Private
1060  xas_set_offset(xas)
调用者
名称描述
xas_nextxas_next() - Move state to next index.*@xas: XArray operation state.* If the @xas was in an error state, it will remain in an error state* and this function will return %NULL. If the @xas has never been walked,