Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\pid.c Create Date:2022-07-28 09:28:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:task_pid_ptr

Proto:static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type)

Type:struct pid

Parameter:

TypeParameterName
struct task_struct *task
enum pid_typetype
317  Return If type == PIDTYPE_PID Then PID/PID hash table linkage. Else pids[type]
Caller
NameDescribe
attach_pidattach_pid() must be called with the tasklist_lock write-held.
__change_pid
get_task_pid
__task_pid_nr_ns