函数逻辑报告 |
Source Code:lib\xarray.c |
Create Date:2022-07-27 07:10:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:xas_find() - Find the next present entry in the XArray
函数原型:void *xas_find(struct xa_state *xas, unsigned long max)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xa_state * | xas | |
unsigned long | max |
1085 | 如果xas_error() - Return an errno stored in the xa_state.*@xas: XArray operation state.* Return: 0 if no error has been noted. A negative errno if one has.或xa_node恒等于XAS_BOUNDS则返回:NULL |
1087 | 如果xa_index大于max则返回:set_bounds(xas) |
1090 | 如果非xa_node则 |
1091 | xa_index等于1 |
1092 | 返回:set_bounds(xas) |
1093 | 否则如果xa_node恒等于XAS_RESTART则 |
1097 | 否则如果非Bits remaining in each slot 且xa_offset不等于xa_index按位与XA_CHUNK_MASK的值则 |
1099 | xa_offset等于xa_index减1按位与XA_CHUNK_MASK的值加1 |
1102 | xas_advance(xas) |
1105 | 如果此条件成立可能性小(为编译器优化)(xa_offset == XA_CHUNK_SIZE)则 |
1112 | 如果Private 则 |
1117 | 如果entry且非xa_is_sibling() - Is the entry a sibling entry?*@entry: Entry retrieved from the XArray* Return: %true if the entry is a sibling entry.则返回:entry |
1120 | xas_advance(xas) |
1123 | 如果非xa_node则xa_node等于XAS_BOUNDS |
1125 | 返回:NULL |
名称 | 描述 |
---|---|
xa_find | xa_find() - Search the XArray for an entry.*@xa: XArray.*@indexp: Pointer to an index.*@max: Maximum index to search to.*@filter: Selection criterion.* Finds the entry in @xa which matches the @filter, and has the lowest |
xa_find_after | xa_find_after() - Search the XArray for a present entry.*@xa: XArray.*@indexp: Pointer to an index.*@max: Maximum index to search to.*@filter: Selection criterion.* Finds the entry in @xa which matches the @filter and has the lowest |
check_xas_retry | |
check_move_max | |
filemap_range_has_page | lemap_range_has_page - check if a page exists in range |
xas_next_entry | xas_next_entry() - Advance iterator to next present entry.*@xas: XArray operation state.*@max: Highest index to return.* xas_next_entry() is an inline function to optimise xarray traversal for* speed |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |