函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称:replace_slot

函数原型:static void replace_slot(void __rcu **slot, void *item, struct radix_tree_node *node, int count, int values)

返回类型:void

参数:

类型参数名称
void __rcu **slot
void *item
struct radix_tree_node *node
intcount
intvalues
836  如果nodecountvalues的值则
837  count加等于count
838  nr_values加等于values
841  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)
调用者
名称描述
__radix_tree_replace
__radix_tree_delete