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:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Initialize an rcu_segcblist structure.

Proto:void rcu_segcblist_init(struct rcu_segcblist *rsclp)

Type:void

Parameter:

TypeParameterName
struct rcu_segcblist *rsclp
158  BUILD_BUG_ON - break compile if a condition is true(RCU_NEXT_TAIL + 1 != ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(gp_seq))
159  BUILD_BUG_ON - break compile if a condition is true(ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(tails) != ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(gp_seq))
160  head = NULL
161  When i < RCU_CBLIST_NSEGS cycle tails[i] = head
163  Set the length of an rcu_segcblist structure.
164  len_lazy = 0
165  enabled = 1
Caller
NameDescribe
__call_rcuHelper function for call_rcu() and friends. The cpu argument will* normally be -1, indicating "currently running CPU". It may specify* a CPU only if that CPU is a no-CBs CPU. Currently, only rcu_barrier()* is expected to specify a CPU.
rcutree_prepare_cpuInvoked early in the CPU-online process, when pretty much all services* are available. The incoming CPU is not present.* Initializes a CPU's per-CPU RCU data. Note that only one online or* offline event can be happening at a given time
rcu_segcblist_mergeMerge the source rcu_segcblist structure into the destination* rcu_segcblist structure, then initialize the source. Any pending* callbacks from the source get to start over. It is best to* advance and accelerate both the destination and the source