Function report | 
Source Code:lib\percpu-refcount.c | 
Create Date:2022-07-28 06:24:51 | 
| 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_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
Proto:void percpu_ref_resurrect(struct percpu_ref *ref)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct percpu_ref * | ref | 
| 391 | __percpu * percpu_count | 
| 394 | spin_lock_irqsave( & percpu_ref_switch_lock, flags) | 
| 396 | WARN_ON_ONCE(!(* 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_DEAD)) | 
| 399 | * 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_DEAD | 
| 401 | __percpu_ref_switch_mode(ref, NULL) | 
| Name | Describe | 
|---|---|
| percpu_ref_reinit | percpu_ref_reinit - re-initialize a percpu refcount*@ref: perpcu_ref to re-initialize* Re-initialize @ref so that it's in the same state as when it finished* percpu_ref_init() ignoring %PERCPU_REF_INIT_DEAD. @ref must have been | 
| 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  |