Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rculist.h Create Date:2022-07-28 05:38:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Insert a new entry between two known consecutive entries.* This is only for internal list manipulation where we know* the prev/next entries already!

Proto:static inline void __list_add_rcu(struct list_head *new, struct list_head *prev, struct list_head *next)

Type:void

Parameter:

TypeParameterName
struct list_head *new
struct list_head *prev
struct list_head *next
70  If Not __list_add_valid(new, prev, next) Then Return
73  next = next
74  prev = prev
75  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(urn the ->next pointer of a list_head in an rcu safe* way, we must not access it directly(prev), new)
76  prev = new