Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:percpu_ref_exit - undo percpu_ref_init()*@ref: percpu_ref to exit* This function exits @ref

Proto:void percpu_ref_exit(struct percpu_ref *ref)

Type:void

Parameter:

TypeParameterName
struct percpu_ref *ref
107  __percpu * percpu_count = percpu_count_ptr(ref)
109  If percpu_count Then
111  WARN_ON_ONCE(confirm_switch)
112  free previously allocated percpu memory
113  * The low bit of the pointer indicates whether the ref is in percpu * mode; if set, then get/put will manipulate the atomic_t. = __PERCPU_REF_ATOMIC_DEAD
Caller
NameDescribe
percpu_ref_call_confirm_rcu
css_free_rwork_fnss destruction is four-stage process
cgroup_createThe returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied.
cgroup_bpf_releasegroup_bpf_release() - put references of all bpf programs and* release all cgroup bpf data*@work: work structure embedded into the cgroup to modify
cgroup_bpf_inheritgroup_bpf_inherit() - inherit effective programs from parent*@cgrp: the cgroup to modify
blk_alloc_queue_nodelk_alloc_queue_node - allocate a request queue*@gfp_mask: memory allocation flags*@node_id: NUMA node to allocate memory from
blkg_freelkg_free - free a blkg*@blkg: blkg to free* Free @blkg which may be partially allocated.
free_ioctx_ioctx() should be RCU delayed to synchronize against the RCU* protected lookup_ioctx() and also needs process context to call* aio_free_ring(). Use rcu_work.
ioctx_allocx_alloc* Allocates and initializes an ioctx. Returns an ERR_PTR if it failed.
io_ring_ctx_free