函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rculist.h Create Date:2022-07-27 06:40:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__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

函数原型:static inline void __list_splice_init_rcu(struct list_head *list, struct list_head *prev, struct list_head *next, void (*sync)(void ))

返回类型:void

参数:

类型参数名称
struct list_head *list
struct list_head *prev
struct list_head *next
void (*sync
222  first等于链表后项
223  last等于链表前项
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
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
253  链表前项等于last
调用者
名称描述
list_splice_init_rculist_splice_init_rcu - splice an RCU-protected list into an existing list,* designed for stacks.*@list: the RCU-protected list to splice*@head: the place in the existing list to splice the first list into
list_splice_tail_init_rculist_splice_tail_init_rcu - splice an RCU-protected list into an existing* list, designed for queues.*@list: the RCU-protected list to splice*@head: the place in the existing list to splice the first list into