函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:32
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_pid_nr_ns

函数原型:static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)

返回类型:pid_t

参数:

类型参数名称
struct task_struct *tsk
struct pid_namespace *ns
1330  返回:__task_pid_nr_ns(tsk, 单一进程, ns)
调用者
名称描述
send_signal
do_notify_parentLet a parent know about the death of a child.* For a stopped/continued status change, use do_notify_parent_cldstop instead.* Returns true if our parent ignored us and so we've switched to* self-reaping.
do_notify_parent_cldstopdo_notify_parent_cldstop - notify parent of stopped/continued state change*@tsk: task reporting the state change*@for_ptracer: the notification is for ptracer*@why: CLD_{CONTINUED|STOPPED|TRAPPED} to report
proc_sched_show_task
taskstats_exitSend pid data out on exit
bacct_add_tskll in basic accounting fields
exec_binprm