函数逻辑报告 |
Source Code:include\linux\radix-tree.h |
Create Date:2022-07-27 06:43:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:adix_tree_next_slot - find next slot in chunk*@slot: pointer to current slot*@iter: pointer to interator state*@flags: RADIX_TREE_ITER_*, should be constant* Returns: pointer to next slot, or NULL if there no more left
函数原型:static __always_inline void __rcu **radix_tree_next_slot(void __rcu **slot, struct radix_tree_iter *iter, unsigned flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
void __rcu ** | slot | |
struct radix_tree_iter * | iter | |
unsigned | flags |
388 | 如果flags按位与RADIX_TREE_ITER_TAGGED则 |
389 | tags右移等于1位 |
390 | 如果此条件成立可能性小(为编译器优化)(!tags)则返回:NULL |
392 | 如果此条件成立可能性大(为编译器优化)(tags & 1ul)则 |
397 | 如果非flags按位与RADIX_TREE_ITER_CONTIG的值则 |
405 | 否则 |
406 | count等于adix_tree_chunk_size - get current chunk size*@iter: pointer to radix tree iterator* Returns: current chunk size |
409 | slot自加 |
410 | index等于__radix_tree_iter_add(iter, 1) |
412 | 如果此条件成立可能性大(为编译器优化)( * slot)则转到:found |
414 | 如果flags按位与RADIX_TREE_ITER_CONTIG则 |
416 | next_index等于0 |
417 | 退出 |
421 | 返回:NULL |
423 | found : |
424 | 返回:slot |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |