| /linux/include/linux/ |
| H A D | pid_types.h | 7 PIDTYPE_TGID, enumerator
|
| /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/kernel/time/ |
| H A D | posix-cpu-timers.c | 94 return pid_has_task(pid, PIDTYPE_TGID) ? pid : NULL; in pid_for_clock() 110 return CPUCLOCK_PERTHREAD(clock) ? PIDTYPE_PID : PIDTYPE_TGID; in clock_pid_type() 906 send_signal_locked(SIGXCPU, SEND_SIG_PRIV, tsk, PIDTYPE_TGID); in check_dl_overrun() 920 send_signal_locked(signo, SEND_SIG_PRIV, current, PIDTYPE_TGID); in check_rlimit() 994 send_signal_locked(signo, SEND_SIG_PRIV, tsk, PIDTYPE_TGID); in check_cpu_itimer()
|
| H A D | itimer.c | 179 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
|
| /linux/init/ |
| H A D | init_task.c | 47 [PIDTYPE_TGID] = &init_struct_pid,
|
| /linux/kernel/ |
| H A D | pid.c | 635 type = PIDTYPE_TGID; in pidfd_get_task() 642 type = PIDTYPE_TGID; in pidfd_get_task()
|
| H A D | fork.c | 1936 if (!(flags & PIDFD_THREAD) && !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_prepare() 2514 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process() 2538 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/fs/ |
| H A D | pidfs.c | 702 task = pid_task(pid, PIDTYPE_TGID); in pidfs_file_release() 709 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, task, PIDTYPE_TGID); in pidfs_file_release()
|
| H A D | exec.c | 1010 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
|
| /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 | 814 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify() 818 &sig_i, task, PIDTYPE_TGID); in __do_notify()
|
| /linux/kernel/bpf/ |
| H A D | task_iter.c | 48 task = get_pid_task(pid, PIDTYPE_TGID); in task_group_seq_get_next()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 910 return bpf_send_signal_common(sig, PIDTYPE_TGID, NULL, 0); in BPF_CALL_1() 3317 task = get_pid_task(find_vpid(pid), PIDTYPE_TGID); in bpf_uprobe_multi_link_attach() 3616 if (type != PIDTYPE_PID && type != PIDTYPE_TGID) in bpf_send_signal_task()
|
| /linux/arch/s390/kernel/ |
| H A D | perf_cpum_sf.c | 654 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()
|
| /linux/drivers/net/ |
| H A D | tun.c | 3535 __f_setown(file, task_pid(current), PIDTYPE_TGID, 0); in tun_chr_fasync()
|
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 7138 do_send_sig_info(SIGKILL, SEND_SIG_NOINFO, child, PIDTYPE_TGID); in cgroup_post_fork()
|
| /linux/kernel/events/ |
| H A D | core.c | 1541 return perf_event_pid_type(event, p, PIDTYPE_TGID); in perf_event_pid()
|