Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__list_splice_init_rcu - join an RCU-protected list into an existing list.*@list: the RCU-protected list to splice*@prev: points to the last element of the existing list*@next: points to the first element of the existing list

Proto:static inline void __list_splice_init_rcu(struct list_head *list, struct list_head *prev, struct list_head *next, void (*sync)(void ))

Type:void

Parameter:

TypeParameterName
struct list_head *list
struct list_head *prev
struct list_head *next
void (*sync
222  first = next
223  last = prev
231  INIT_LIST_HEAD_RCU - Initialize a list_head visible to RCU readers*@list: list to be initialized* You should instead use INIT_LIST_HEAD() for normal initialization and* cleanup tasks, when readers have no access to the list being initialized
240  sync()
250  next = next
251  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), first)
252  prev = prev
253  prev = last