函数逻辑报告 |
Source Code:lib\radix-tree.c |
Create Date:2022-07-27 07:10:20 |
Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__radix_tree_lookup
函数原型:void *__radix_tree_lookup(const struct xarray *root, unsigned long index, struct radix_tree_node **nodep, void __rcu ***slotp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct xarray * | root | |
unsigned long | index | |
struct radix_tree_node ** | nodep | |
void __rcu *** | slotp |
765 | restart : |
766 | parent = NULL |
768 | radix_tree_load_root(root, & node, & maxindex) |
775 | parent等于entry_to_node(node) |
776 | offset等于radix_tree_descend(parent, & node, index) |
778 | 如果node恒等于RADIX_TREE_RETRY则转到:restart |
788 | 返回:node |
名称 | 描述 |
---|---|
radix_tree_lookup_slot | adix_tree_lookup_slot - lookup a slot in a radix tree*@root: radix tree root*@index: index key* Returns: the slot corresponding to the position @index in the* radix tree @root |
radix_tree_lookup | adix_tree_lookup - perform lookup operation on a radix tree*@root: radix tree root*@index: index key* Lookup the item at the position @index in the radix tree @root.* This function can be called under rcu_read_lock, however the caller |
radix_tree_delete_item | adix_tree_delete_item - delete an item from a radix tree*@root: radix tree root*@index: index key*@item: expected item* Remove @item at @index from the radix tree rooted at @root.* Return: the deleted entry, or %NULL if it was not present |
idr_replace | dr_replace() - replace pointer for given ID |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |