函数逻辑报告

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

函数原型:static inline struct pid *task_pid(struct task_struct *task)

返回类型:struct pid

参数:

类型参数名称
struct task_struct *task
1307  返回: PID/PID hash table linkage.
调用者
名称描述
find_new_reaperWhen we die, we re-parent all our children, and try to:* 1
do_notify_pidfd
SYSCALL_DEFINE4sys_pidfd_send_signal - Signal a process through a pidfd*@pidfd: file descriptor of the process*@sig: signal to send*@info: signal info*@flags: future flags* The syscall currently only signals via PIDTYPE_PID which covers* kill(,
SYSCALL_DEFINE2This needs some heavy checking
ksys_setsid
propagate_has_child_subreaper
task_active_pid_ns取进程的空间
debug_rt_mutex_deadlockWe fill out the fields in the waiter to store the information about* the deadlock. We print when we return. act_waiter can be NULL in* case of a remove waiter operation.
kernel_init_freeable
pipelined_send
de_threadThis function makes sure the current process has its own signal table,* so that flush_signal_handlers can later reset the handlers without* disturbing other processes. (Other processes might share the signal* table via the CLONE_SIGHAND option to clone().)
fcntl_dirnotifyWhen a process calls fcntl to attach a dnotify watch to a directory it ends* up here. Allocate both a mark for fsnotify to add and a dnotify_struct to be* attached to the fsnotify_mark.
fanotify_alloc_event
lease_setup
task_pid_type
has_group_leader_pidDo to the insanities of de_thread it is possible for a process* to have the pid of the thread group leader without actually being* the thread group leader