Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:free_pid

Proto:void free_pid(struct pid *pid)

Type:void

Parameter:

TypeParameterName
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)
131  When i <= level cycle
132  upid = numbers + i
133  ns = ns
135  Case -- == 2
136  Case -- == 1
142  Break
143  Case -- == PIDNS_ADDING
146  pid_allocated = 0
148  Case -- == 0
150  Break
153  dr_remove() - Remove an ID from the IDR
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)
157  Exported common interfaces
Caller
NameDescribe
__change_pid