函数逻辑报告 |
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 - try to increment a percpu refcount*@ref: percpu_ref to try-get* Increment a percpu refcount unless its count already reached zero.* Returns %true on success; %false on failure.
函数原型:static inline bool percpu_ref_tryget(struct percpu_ref *ref)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct percpu_ref * | ref |
223 | __percpu乘percpu_count |
229 | this_cpu_inc( * percpu_count) |
230 | ret = true |
231 | 否则 |
232 | ret等于atomic_long_inc_not_zero( & count) |
237 | 返回:ret |
名称 | 描述 |
---|---|
blk_mq_timeout_work | |
blk_mq_queue_tag_busy_iter | lk_mq_queue_tag_busy_iter - iterate over all requests with a driver tag*@q: Request queue to examine |
io_get_req | |
SYSCALL_DEFINE6 | |
css_tryget | ss_tryget - try to obtain a reference on the specified css*@css: target css* Obtain a reference on @css unless it already has reached zero and is* being released. This function doesn't care whether @css is on or* offline |
blkg_tryget | lkg_tryget - try and get a blkg reference*@blkg: blkg to get* This is for use when doing an RCU lookup of the blkg. We may be in the midst* of freeing this blkg, so we can only use it if the refcnt is not zero. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |