Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\radix-tree.c Create Date:2022-07-28 06:13:02
Last Modify:2022-05-21 10:04:37 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:insert_entries

Proto:static inline int insert_entries(struct radix_tree_node *node, void __rcu **slot, void *item, bool replace)

Type:int

Parameter:

TypeParameterName
struct radix_tree_node *node
void __rcu **slot
void *item
boolreplace
694  If slot Then Return -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  If node Then
698  count++
699  If 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. Then nr_values++
702  Return 1
Caller
NameDescribe
radix_tree_insert__radix_tree_insert - insert into a radix tree*@root: radix tree root*@index: index key*@item: item to insert* Insert an item into the radix tree at position @index.