函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:percpu_ref_tryget_live - try to increment a live percpu refcount*@ref: percpu_ref to try-get* Increment a percpu refcount unless it has already been killed
函数原型:static inline bool percpu_ref_tryget_live(struct percpu_ref *ref)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct percpu_ref * | ref |
257 | __percpu乘percpu_count |
258 | bool ret = false |
263 | this_cpu_inc( * percpu_count) |
264 | ret = true |
266 | ret等于atomic_long_inc_not_zero( & count) |
271 | 返回:ret |
名称 | 描述 |
---|---|
cgroup1_root_to_use | The guts of cgroup1 mount - find or create cgroup_root to use |
cgroup1_get_tree | |
blk_queue_enter | lk_queue_enter() - try to increase q->q_usage_counter*@q: request queue pointer*@flags: BLK_MQ_REQ_NOWAIT and/or BLK_MQ_REQ_PREEMPT |
lookup_ioctx | |
hd_struct_try_get | |
css_tryget_online | ss_tryget_online - try to obtain a reference on the specified css if online*@css: target css* Obtain a reference on @css if it's online |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |