函数逻辑报告 |
Source Code:lib\xarray.c |
Create Date:2022-07-27 07:10:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:xas_create_range() - Ensure that stores to this range will succeed*@xas: XArray operation state.* Creates all of the slots in the range covered by @xas. Sets @xas to* create single-index entries and positions it at the beginning of the* range
函数原型:void xas_create_range(struct xa_state *xas)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xa_state * | xas |
707 | 如果xas_is_node() - Does the xas point to a node?*@xas: XArray operation state.* Return: %true if the xas currently references a node.且Bits remaining in each slot 恒等于xa_shift则xa_offset或等于sibs |
709 | xa_shift等于0 |
710 | xa_sibs等于0 |
712 | 循环 |
714 | 如果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.则转到:restore |
716 | 如果xa_index小于等于index按位或XA_CHUNK_MASK的值则转到:success |
718 | xa_index减等于XA_CHUNK_SIZE |
720 | 循环 |
723 | xa_offset等于Slot offset in parent 减1 |
724 | 如果Slot offset in parent 不等于0则退出 |
729 | restore : |
733 | 返回 |
734 | success : |
736 | 如果xa_node则xas_set_offset(xas) |
名称 | 描述 |
---|---|
xa_store_many_order | |
check_create_range_3 | |
check_create_range_4 | |
add_to_swap_cache | add_to_swap_cache resembles add_to_page_cache_locked on swapper_space,* but sets SwapCache flag and private instead of mapping and index. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |