Function report |
Source Code:lib\percpu-refcount.c |
Create Date:2022-07-28 06:24:49 |
| 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_switch_to_atomic
Proto:static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, percpu_ref_func_t *confirm_switch)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct percpu_ref * | ref | |
| percpu_ref_func_t * | confirm_switch |
| 176 | If confirm_switch Then confirm_switch(ref) |
| 178 | Return |
| 182 | * The low bit of the pointer indicates whether the ref is in percpu * mode; if set, then get/put will manipulate the atomic_t. |= __PERCPU_REF_ATOMIC |
| 188 | confirm_switch = If confirm_switch Else percpu_ref_noop_confirm_switch |
| Name | Describe |
|---|---|
| __percpu_ref_switch_mode |
| 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 |