Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Callback function for srcu_barrier() use.

Proto:static void srcu_barrier_cb(struct callback_head *rhp)

Type:void

Parameter:

TypeParameterName
struct callback_head *rhp
1012  sdp = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(rhp, structsrcu_data, srcu_barrier_head)
1013  ssp = ssp
1014  If atomic_dec_and_test( & srcu_barrier_cpu_cnt) Then mplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.