Function report |
Source Code:lib\percpu-refcount.c |
Create Date:2022-07-28 06:24:50 |
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_mode
Proto:static void __percpu_ref_switch_mode(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 |
232 | wait_event_lock_irq - sleep until a condition gets true(percpu_ref_switch_waitq, !confirm_switch, percpu_ref_switch_lock) |
237 | Else __percpu_ref_switch_to_percpu(ref) |
Name | Describe |
---|---|
percpu_ref_switch_to_atomic | percpu_ref_switch_to_atomic - switch a percpu_ref to atomic mode*@ref: percpu_ref to switch to atomic mode*@confirm_switch: optional confirmation callback* There's no reason to use this function for the usual reference counting. |
percpu_ref_switch_to_percpu | percpu_ref_switch_to_percpu - switch a percpu_ref to percpu mode*@ref: percpu_ref to switch to percpu mode* There's no reason to use this function for the usual reference counting.* To re-use an expired ref, use percpu_ref_reinit(). |
percpu_ref_kill_and_confirm | percpu_ref_kill_and_confirm - drop the initial ref and schedule confirmation*@ref: percpu_ref to kill*@confirm_kill: optional confirmation callback* Equivalent to percpu_ref_kill() but also schedules kill confirmation if*@confirm_kill is not NULL |
percpu_ref_resurrect | percpu_ref_resurrect - modify a percpu refcount from dead to live*@ref: perpcu_ref to resurrect* Modify @ref so that it's in the same state as before percpu_ref_kill() was* called |
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 |