函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:insert_entries

函数原型:static inline int insert_entries(struct radix_tree_node *node, void __rcu **slot, void *item, bool replace)

返回类型:int

参数:

类型参数名称
struct radix_tree_node *node
void __rcu **slot
void *item
boolreplace
694  如果slot则返回:负EEXIST
696  cu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization( * slot, item)
697  如果node
698  count自加
699  如果xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer.nr_values自加
702  返回:1
调用者
名称描述
radix_tree_insert在radix树中插入节点