函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcu_segcblist.c Create Date:2022-07-27 11:29:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Flush the second rcu_cblist structure onto the first one, obliterating* any contents of the first

函数原型:void rcu_cblist_flush_enqueue(struct rcu_cblist *drclp, struct rcu_cblist *srclp, struct callback_head *rhp)

返回类型:void

参数:

类型参数名称
struct rcu_cblist *drclp
struct rcu_cblist *srclp
struct callback_head *rhp
51  head等于head
52  如果headtail等于tail
54  否则tail等于head
56  len等于len
57  len_lazy等于len_lazy
58  如果非rhp
59  Initialize simple callback list.
60  否则
61  next = NULL
62  head等于rhp
63  tail等于next
64  WRITE_ONCE(len, 1)
65  len_lazy等于0