Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:58:18
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_task_pid

Proto:static inline void init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
enum pid_typetype
struct pid *pid
1663  If type == PIDTYPE_PID Then PID/PID hash table linkage. = pid
1665  Else pids[type] = pid
Caller
NameDescribe
copy_processCreate a new process
init_idle_pids