Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcu_segcblist.c Create Date:2022-07-28 10:29:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Flush the second rcu_cblist structure onto the first one, obliterating* any contents of the first

Proto:void rcu_cblist_flush_enqueue(struct rcu_cblist *drclp, struct rcu_cblist *srclp, struct callback_head *rhp)

Type:void

Parameter:

TypeParameterName
struct rcu_cblist *drclp
struct rcu_cblist *srclp
struct callback_head *rhp
51  head = head
52  If head Then tail = tail
54  Else tail = head
56  len = len
57  len_lazy = len_lazy
58  If Not rhp Then
59  Initialize simple callback list.
60  Else
61  next = NULL
62  head = rhp
63  tail = next
64  WRITE_ONCE(len, 1)
65  len_lazy = 0