函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\radix-tree.c Create Date:2022-07-27 07:10:12
Last Modify:2022-05-21 10:04:37 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_slot_offset

函数原型:static inline unsigned long get_slot_offset(const struct xa_node *parent, void __rcu **slot)

返回类型:unsigned long

参数:

类型参数名称
const struct xa_node *parent
void __rcu **slot
91  返回:如果parentslotslots否则0
调用者
名称描述
radix_tree_insert在radix树中插入节点
calculate_count
__radix_tree_delete
radix_tree_delete_itemadix_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