函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\percpu-refcount.h Create Date:2022-07-27 06:40:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:percpu计数引用增

函数原型:static inline void percpu_ref_get(struct percpu_ref *ref)

返回类型:void

参数:

类型参数名称
struct percpu_ref *ref
209  percpu计数
调用者
名称描述
__percpu_ref_switch_to_atomic
percpu_ref_resurrectpercpu_ref_resurrect - modify a percpu refcount from dead to live*@ref: perpcu_ref to resurrect* Modify @ref so that it's in the same state as before percpu_ref_kill() was* called
blk_mq_sched_insert_requests
ioctx_allocx_alloc* Allocates and initializes an ioctx. Returns an ERR_PTR if it failed.
aio_get_reqaio_get_req* Allocate a slot for an aio request.* Returns NULL if no requests are free.* The refcount is initialized to 2 - one for the async op completion,* one for the synchronous code that does this.
hd_struct_get
css_get获取指定CSS参考
cgroup_bpf_get
blkg_getlkg_get - get a blkg reference*@blkg: blkg to get* The caller should be holding an existing reference.
blk_queue_enter_live