| /linux/include/linux/ |
| H A D | pid_types.h | 7 PIDTYPE_TGID, enumerator
|
| H A D | pid.h | 293 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, ns); in task_tgid_nr_ns() 298 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, NULL); in task_tgid_vnr()
|
| /linux/tools/testing/selftests/sched/ |
| H A D | cs_prctl_test.c | 62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enumerator 300 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, pid, PIDTYPE_TGID, 0) < 0) in main()
|
| /linux/drivers/tty/ |
| H A D | tty_jobctrl.c | 218 send_signal_locked(SIGHUP, SEND_SIG_PRIV, p, PIDTYPE_TGID); in tty_signal_session_leader() 219 send_signal_locked(SIGCONT, SEND_SIG_PRIV, p, PIDTYPE_TGID); in tty_signal_session_leader()
|
| H A D | tty_io.c | 2233 type = PIDTYPE_TGID; in __tty_fasync()
|
| /linux/kernel/sched/ |
| H A D | core_sched.c | 143 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD_GROUP != PIDTYPE_TGID); in sched_core_share_pid()
|
| /linux/mm/ |
| H A D | oom_kill.c | 959 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, victim, PIDTYPE_TGID); in __oom_kill_process() 999 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, p, PIDTYPE_TGID); in __oom_kill_process()
|
| /linux/kernel/ |
| H A D | pid.c | 584 type = PIDTYPE_TGID; in pidfd_get_task() 591 type = PIDTYPE_TGID; in pidfd_get_task()
|
| H A D | exit.c | 145 detach_pid(post->pids, p, PIDTYPE_TGID); in __unhash_process() 720 PIDTYPE_TGID); in forget_original_parent() 1638 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
|
| H A D | fork.c | 1892 if (!(flags & PIDFD_THREAD) && !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_prepare() 2419 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process() 2438 attach_pid(p, PIDTYPE_TGID); in copy_process()
|
| /linux/fs/notify/dnotify/ |
| H A D | dnotify.c | 369 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | uapi.c | 118 struct pid *pid = get_task_pid(current, PIDTYPE_TGID); in tegra_drm_ioctl_channel_open()
|
| /linux/kernel/time/ |
| H A D | itimer.c | 179 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
|
| H A D | posix-timers.c | 527 new_timer->it_pid_type = PIDTYPE_TGID; in do_timer_create()
|
| /linux/include/linux/sched/ |
| H A D | signal.h | 681 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_file.c | 1030 task = pid_task(pid, PIDTYPE_TGID); in drm_file_err()
|
| /linux/ipc/ |
| H A D | mqueue.c | 816 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify() 820 &sig_i, task, PIDTYPE_TGID); in __do_notify()
|
| /linux/kernel/bpf/ |
| H A D | task_iter.c | 46 task = get_pid_task(pid, PIDTYPE_TGID); in task_group_seq_get_next()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 880 return bpf_send_signal_common(sig, PIDTYPE_TGID, NULL, 0); in BPF_CALL_1() 3217 task = get_pid_task(find_vpid(pid), PIDTYPE_TGID); in bpf_uprobe_multi_link_attach() 3511 if (type != PIDTYPE_PID && type != PIDTYPE_TGID) in bpf_send_signal_task()
|
| /linux/fs/ |
| H A D | exec.c | 996 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
|
| H A D | locks.c | 585 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in lease_setup()
|
| /linux/fs/proc/ |
| H A D | base.c | 3556 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()
|
| /linux/drivers/block/ |
| H A D | ublk_drv.c | 3347 p = pid_task(pid, PIDTYPE_TGID); in ublk_ctrl_get_dev_info()
|
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 6966 do_send_sig_info(SIGKILL, SEND_SIG_NOINFO, child, PIDTYPE_TGID); in cgroup_post_fork()
|
| /linux/kernel/events/ |
| H A D | core.c | 1441 return perf_event_pid_type(event, p, PIDTYPE_TGID); in perf_event_pid()
|