Function report |
Source Code:include\linux\percpu-refcount.h |
Create Date:2022-07-28 05:38:02 |
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_live - try to increment a live percpu refcount*@ref: percpu_ref to try-get* Increment a percpu refcount unless it has already been killed
Proto:static inline bool percpu_ref_tryget_live(struct percpu_ref *ref)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
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 | Return ret |
Name | Describe |
---|---|
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 |
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 |