函数逻辑报告 |
Source Code:lib\xarray.c |
Create Date:2022-07-27 07:10:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:xas_find_marked() - Find the next marked entry in the XArray.*@xas: XArray operation state.*@max: Highest index to return.*@mark: Mark number to search for.* If the @xas has not yet been walked to an entry, return the marked entry
函数原型:void *xas_find_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xa_state * | xas | |
unsigned long | max | |
xa_mark_t | mark |
1152 | bool advance = true |
1161 | 如果非xa_node则 |
1165 | advance = false |
1167 | xa_node = NULL |
1170 | 如果非Private 则 |
1171 | 如果xa_marked() - Inquire whether any entry in this array has a mark set*@xa: Array*@mark: Mark value* Context: Any context.* Return: %true if any entry has this mark set.则返回:entry |
1173 | xa_index等于1 |
1174 | 转到:out |
1177 | xa_offset等于xa_index右移Bits remaining in each slot 位 |
1181 | 如果此条件成立可能性小(为编译器优化)(xa_offset == XA_CHUNK_SIZE)则 |
1190 | 如果非advance则 |
1200 | advance = false |
1206 | 如果offset恒等于XA_CHUNK_SIZE则继续下一循环 |
1214 | xas_set_offset(xas) |
1217 | out : |
1220 | 返回:set_bounds(xas) |
1221 | max : |
1222 | xa_node等于XAS_RESTART |
1223 | 返回:NULL |
名称 | 描述 |
---|---|
__xa_alloc | |
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 |
ida_alloc_range | da_alloc_range() - Allocate an unused ID.*@ida: IDA handle.*@min: Lowest ID to allocate.*@max: Highest ID to allocate.*@gfp: Memory allocation flags.* Allocate an ID between @min and @max, inclusive. The allocated ID will |
xas_next_marked | xas_next_marked() - Advance iterator to next marked entry.*@xas: XArray operation state.*@max: Highest index to return.*@mark: Mark to search for.* xas_next_marked() is an inline function to optimise xarray traversal for* speed |
__xa_alloc | __xa_alloc() - Find somewhere to store this entry in the XArray |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |