函数逻辑报告

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

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

函数原型:static inline void __list_add_rcu(struct list_head *new, struct list_head *prev, struct list_head *next)

返回类型:void

参数:

类型参数名称
struct list_head *new
struct list_head *prev
struct list_head *next
70  如果非__list_add_valid(new, prev, next)则返回
73  链表后项等于next
74  链表前项等于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  链表前项等于new
调用者
名称描述
list_add_rcu添加RCU保护项
list_add_tail_rcu添加RCU链表项