| /linux/include/linux/ |
| H A D | pid_types.h | 7 PIDTYPE_TGID, enumerator
|
| /linux/fs/ |
| H A D | fcntl.c | 161 type = PIDTYPE_TGID; in f_setown() 192 __f_setown(filp, NULL, PIDTYPE_TGID, 1); in f_delown() 234 type = PIDTYPE_TGID; in f_setown_ex() 283 case PIDTYPE_TGID: in f_getown_ex() 925 if (type <= PIDTYPE_TGID) { in send_sigio() 971 if (type <= PIDTYPE_TGID) { in send_sigurg()
|
| H A D | pidfs.c | 679 task = pid_task(pid, PIDTYPE_TGID); in pidfs_file_release() 686 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, task, PIDTYPE_TGID); in pidfs_file_release()
|
| /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/infiniband/core/ |
| H A D | umem_odp.c | 152 umem_odp->tgid = get_task_pid(current, PIDTYPE_TGID); in ib_umem_odp_alloc_implicit() 261 umem_odp->tgid = get_task_pid(current, PIDTYPE_TGID); in ib_umem_odp_get()
|
| /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()
|
| /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/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()
|
| /linux/kernel/ |
| H A D | exit.c | 145 detach_pid(post->pids, p, PIDTYPE_TGID); in __unhash_process() 721 PIDTYPE_TGID); in forget_original_parent() 1644 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
|
| H A D | fork.c | 1893 if (!(flags & PIDFD_THREAD) && !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_prepare() 2470 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process() 2494 attach_pid(p, PIDTYPE_TGID); in copy_process()
|
| /linux/ipc/ |
| H A D | mqueue.c | 815 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify() 819 &sig_i, task, PIDTYPE_TGID); in __do_notify()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_file.c | 1030 task = pid_task(pid, PIDTYPE_TGID); in drm_file_err()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 880 return bpf_send_signal_common(sig, PIDTYPE_TGID, NULL, 0); in BPF_CALL_1() 3238 task = get_pid_task(find_vpid(pid), PIDTYPE_TGID); in bpf_uprobe_multi_link_attach() 3537 if (type != PIDTYPE_PID && type != PIDTYPE_TGID) in bpf_send_signal_task()
|
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_drv.c | 885 task = pid_task(pid, PIDTYPE_TGID); in show_each_file()
|
| /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/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_gpuvm.c | 1433 info->pid = get_task_pid(current, PIDTYPE_TGID); in init_kfd_vm()
|
| /linux/fs/proc/ |
| H A D | base.c | 3559 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()
|
| /linux/drivers/block/ |
| H A D | ublk_drv.c | 4930 p = pid_task(pid, PIDTYPE_TGID); in ublk_ctrl_get_dev_info()
|
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 7000 do_send_sig_info(SIGKILL, SEND_SIG_NOINFO, child, PIDTYPE_TGID); in cgroup_post_fork()
|
| /linux/kernel/events/ |
| H A D | core.c | 1540 return perf_event_pid_type(event, p, PIDTYPE_TGID); in perf_event_pid()
|