Function report |
Source Code:include\linux\percpu-refcount.h |
Create Date:2022-07-28 05:38:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline bool percpu_ref_tryget(struct percpu_ref *ref)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct percpu_ref * | ref |
223 | __percpu * percpu_count |
229 | this_cpu_inc( * percpu_count) |
230 | ret = true |
231 | Else |
232 | ret = atomic_long_inc_not_zero( & count) |
237 | Return ret |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |