函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline void *xas_prev(struct xa_state *xas)

返回类型:void

参数:

类型参数名称
struct xa_state *xas
1745  node等于xa_node
1747  如果此条件成立可能性小(为编译器优化)(True if the pointer is something other than a node || Bits remaining in each slot || xa_offset == 0)则返回:__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.
1751  xa_index自减
1752  xa_offset自减
1753  返回:Private
调用者
名称描述
check_move_tiny
check_move_small
check_move
page_cache_prev_misspage_cache_prev_miss() - Find the previous gap in the page cache.*@mapping: Mapping.*@index: Index.*@max_scan: Maximum range to search.* Search the range [max(index - max_scan + 1, 0), index] for the* gap with the highest index.