Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Must be called under rcu_read_lock().

Proto:struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns)

Type:struct task_struct

Parameter:

TypeParameterName
pid_tnr
struct pid_namespace *ns
390  RCU_LOCKDEP_WARN(!rcu_read_lock_held(), "find_task_by_pid_ns() needs rcu_read_lock() protection")
392  Return pid_task(find_pid_ns(nr, ns), PIDTYPE_PID)
Caller
NameDescribe
find_task_by_vpid
getthread
kdb_pidkdb_pid - This function implements the 'pid' command which switches* the currently active process.* pid [ | R]
kdb_killkdb_kill - This function implements the 'kill' commands.
kdb_bt
rest_init
tomoyo_read_pidmoyo_read_pid - Get domainname of the specified PID