Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\percpu-refcount.c Create Date:2022-07-28 06:24:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:percpu_ref_call_confirm_rcu

Proto:static void percpu_ref_call_confirm_rcu(struct rcu_head *rcu)

Type:void

Parameter:

TypeParameterName
struct rcu_head *rcu
120  ref = 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.(rcu, structpercpu_ref, rcu)
122  confirm_switch(ref)
123  confirm_switch = NULL
124  wake_up_all( & percpu_ref_switch_waitq)
126  If Not allow_reinit Then percpu_ref_exit - undo percpu_ref_init()*@ref: percpu_ref to exit* This function exits @ref
130  percpu_ref_put - decrement a percpu refcount*@ref: percpu_ref to put* Decrement the refcount, and if 0, call the release function (which was passed* to percpu_ref_init())* This function is safe to call as long as @ref is between init and exit.
Caller
NameDescribe
percpu_ref_switch_to_atomic_rcu