Symbol: PIDTYPE_TGID
arch/s390/kernel/perf_cpum_sf.c
654
data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID);
drivers/block/ublk_drv.c
4962
p = pid_task(pid, PIDTYPE_TGID);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
1433
info->pid = get_task_pid(current, PIDTYPE_TGID);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1341
task = pid_task(pid, PIDTYPE_TGID);
drivers/gpu/drm/drm_debugfs.c
105
task = pid_task(pid, PIDTYPE_TGID);
drivers/gpu/drm/drm_debugfs.c
325
task = pid_task(pid, PIDTYPE_TGID);
drivers/gpu/drm/drm_file.c
1030
task = pid_task(pid, PIDTYPE_TGID);
drivers/gpu/drm/panfrost/panfrost_drv.c
887
task = pid_task(pid, PIDTYPE_TGID);
drivers/gpu/drm/tegra/uapi.c
118
struct pid *pid = get_task_pid(current, PIDTYPE_TGID);
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
319
task = pid_task(pid, PIDTYPE_TGID);
drivers/infiniband/core/umem_odp.c
152
umem_odp->tgid = get_task_pid(current, PIDTYPE_TGID);
drivers/infiniband/core/umem_odp.c
261
umem_odp->tgid = get_task_pid(current, PIDTYPE_TGID);
drivers/net/tun.c
3390
__f_setown(file, task_pid(current), PIDTYPE_TGID, 0);
drivers/tty/tty_io.c
2233
type = PIDTYPE_TGID;
drivers/tty/tty_jobctrl.c
218
send_signal_locked(SIGHUP, SEND_SIG_PRIV, p, PIDTYPE_TGID);
drivers/tty/tty_jobctrl.c
219
send_signal_locked(SIGCONT, SEND_SIG_PRIV, p, PIDTYPE_TGID);
fs/exec.c
1007
transfer_pid(leader, tsk, PIDTYPE_TGID);
fs/fcntl.c
161
type = PIDTYPE_TGID;
fs/fcntl.c
192
__f_setown(filp, NULL, PIDTYPE_TGID, 1);
fs/fcntl.c
234
type = PIDTYPE_TGID;
fs/fcntl.c
283
case PIDTYPE_TGID:
fs/fcntl.c
925
if (type <= PIDTYPE_TGID) {
fs/fcntl.c
971
if (type <= PIDTYPE_TGID) {
fs/gfs2/glock.c
2671
i->task = pid_task(pid, PIDTYPE_TGID);
fs/locks.c
595
__f_setown(filp, task_pid(current), PIDTYPE_TGID, 0);
fs/notify/dnotify/dnotify.c
369
__f_setown(filp, task_pid(current), PIDTYPE_TGID, 0);
fs/pidfs.c
683
task = pid_task(pid, PIDTYPE_TGID);
fs/pidfs.c
690
do_send_sig_info(SIGKILL, SEND_SIG_PRIV, task, PIDTYPE_TGID);
fs/proc/base.c
3541
it->task = pid_task(pid, PIDTYPE_TGID);
include/linux/pid.h
293
return __task_pid_nr_ns(tsk, PIDTYPE_TGID, ns);
include/linux/pid.h
298
return __task_pid_nr_ns(tsk, PIDTYPE_TGID, NULL);
include/linux/sched/signal.h
682
return task->signal->pids[PIDTYPE_TGID];
init/init_task.c
47
[PIDTYPE_TGID] = &init_struct_pid,
ipc/mqueue.c
815
task = pid_task(info->notify_owner, PIDTYPE_TGID);
ipc/mqueue.c
819
&sig_i, task, PIDTYPE_TGID);
kernel/bpf/task_iter.c
48
task = get_pid_task(pid, PIDTYPE_TGID);
kernel/cgroup/cgroup.c
7044
do_send_sig_info(SIGKILL, SEND_SIG_NOINFO, child, PIDTYPE_TGID);
kernel/events/core.c
1541
return perf_event_pid_type(event, p, PIDTYPE_TGID);
kernel/exit.c
145
detach_pid(post->pids, p, PIDTYPE_TGID);
kernel/exit.c
1678
target = pid_task(wo->wo_pid, PIDTYPE_TGID);
kernel/exit.c
755
PIDTYPE_TGID);
kernel/fork.c
1918
if (!(flags & PIDFD_THREAD) && !pid_has_task(pid, PIDTYPE_TGID))
kernel/fork.c
2496
init_task_pid(p, PIDTYPE_TGID, pid);
kernel/fork.c
2520
attach_pid(p, PIDTYPE_TGID);
kernel/pid.c
633
type = PIDTYPE_TGID;
kernel/pid.c
640
type = PIDTYPE_TGID;
kernel/sched/core_sched.c
143
BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD_GROUP != PIDTYPE_TGID);
kernel/signal.c
1138
if (type > PIDTYPE_TGID) {
kernel/signal.c
1480
return kill_pid_info_type(sig, info, pid, PIDTYPE_TGID);
kernel/signal.c
1561
ret = __send_signal_locked(sig, &info, p, PIDTYPE_TGID, false);
kernel/signal.c
2270
__send_signal_locked(sig, &info, tsk->parent, PIDTYPE_TGID, false);
kernel/signal.c
2340
send_signal_locked(SIGCHLD, &info, parent, PIDTYPE_TGID);
kernel/signal.c
3963
prepare_kill_siginfo(sig, &info, PIDTYPE_TGID);
kernel/signal.c
4030
type = PIDTYPE_TGID;
kernel/signal.c
4048
if ((task_pid(current) != pid || type > PIDTYPE_TGID) &&
kernel/signal.c
4096
pid = get_task_pid(current, PIDTYPE_TGID);
kernel/signal.c
4097
type = PIDTYPE_TGID;
kernel/signal.c
4116
type = PIDTYPE_TGID;
kernel/signal.c
631
*type = PIDTYPE_TGID;
kernel/time/itimer.c
179
struct pid *leader_pid = sig->pids[PIDTYPE_TGID];
kernel/time/posix-cpu-timers.c
110
return CPUCLOCK_PERTHREAD(clock) ? PIDTYPE_PID : PIDTYPE_TGID;
kernel/time/posix-cpu-timers.c
906
send_signal_locked(SIGXCPU, SEND_SIG_PRIV, tsk, PIDTYPE_TGID);
kernel/time/posix-cpu-timers.c
920
send_signal_locked(signo, SEND_SIG_PRIV, current, PIDTYPE_TGID);
kernel/time/posix-cpu-timers.c
94
return pid_has_task(pid, PIDTYPE_TGID) ? pid : NULL;
kernel/time/posix-cpu-timers.c
994
send_signal_locked(signo, SEND_SIG_PRIV, tsk, PIDTYPE_TGID);
kernel/time/posix-timers.c
528
new_timer->it_pid_type = PIDTYPE_TGID;
kernel/trace/bpf_trace.c
3317
task = get_pid_task(find_vpid(pid), PIDTYPE_TGID);
kernel/trace/bpf_trace.c
3616
if (type != PIDTYPE_PID && type != PIDTYPE_TGID)
kernel/trace/bpf_trace.c
910
return bpf_send_signal_common(sig, PIDTYPE_TGID, NULL, 0);
mm/oom_kill.c
943
do_send_sig_info(SIGKILL, SEND_SIG_PRIV, victim, PIDTYPE_TGID);
mm/oom_kill.c
983
do_send_sig_info(SIGKILL, SEND_SIG_PRIV, p, PIDTYPE_TGID);
security/landlock/fs.c
1925
if (fown->pid_type != PIDTYPE_PID && fown->pid_type != PIDTYPE_TGID)
tools/testing/selftests/bpf/progs/test_send_signal_kern.c
37
ret = bpf_send_signal_task(target_task, sig, PIDTYPE_TGID, value);
tools/testing/selftests/sched/cs_prctl_test.c
300
if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, pid, PIDTYPE_TGID, 0) < 0)