函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:void

参数:

类型参数名称
struct xa_state *xas
998  如果非True if the node represents RESTART or an error xa_index自减
1000  如果非xa_node则返回:set_bounds(xas)
1002  如果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
1005  如果xa_offset不等于xtracts the offset within this node from the index xa_offset自减
1008 xa_offset恒等于255循环
1009  xa_offset等于Slot offset in parent 减1
1010  xa_node等于Private
1011  如果非xa_node则返回:set_bounds(xas)
1015  循环
1016  entry等于Private
1017  如果非Private 则返回:entry
1020  xa_node等于Private
1021  xas_set_offset(xas)
调用者
名称描述
xas_prevxas_prev() - Move iterator to previous 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,