函数逻辑报告

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

函数名称:rcu新旧更换

函数原型:static inline void hlist_replace_rcu(struct hlist_node *old, struct hlist_node *new)

返回类型:void

参数:

类型参数名称
struct hlist_node *old
struct hlist_node *new
489  next等于next
491  next等于next
492  pprev等于pprev
493  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( * (structhlist_node__rcu * * )pprev, new)
494  如果nextpprev等于next
496  pprev等于LIST_POISON2
调用者
名称描述
transfer_pidransfer_pid is an optimization of attach_pid(new), detach_pid(old)
init_aggr_kprobe
avc_node_replace