Function report | 
Source Code:kernel\pid.c | 
Create Date:2022-07-28 09:28:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:free_pid
Proto:void free_pid(struct pid *pid)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct pid * | pid | 
| 130 | spin_lock_irqsave( & Note: disable interrupts while the pidmap_lock is held as an* interrupt might come in and do read_lock(&tasklist_lock), flags) | 
| 135 | Case -- == 2 | 
| 136 | Case -- == 1 | 
| 142 | Break | 
| 143 | Case -- == PIDNS_ADDING | 
| 145 | WARN_ON(child_reaper) | 
| 146 | pid_allocated = 0 | 
| 148 | Case -- == 0 | 
| 155 | spin_unlock_irqrestore( & Note: disable interrupts while the pidmap_lock is held as an* interrupt might come in and do read_lock(&tasklist_lock), flags) | 
| Name | Describe | 
|---|---|
| __change_pid | 
| 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  |