Home
last modified time | relevance | path

Searched refs:PIDTYPE_TGID (Results 1 – 25 of 34) sorted by relevance

12

/linux/include/linux/
A Dpid_types.h7 PIDTYPE_TGID, enumerator
A Dpid.h289 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, ns); in task_tgid_nr_ns()
294 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, NULL); in task_tgid_vnr()
/linux/fs/
A Dfcntl.c162 type = PIDTYPE_TGID; in f_setown()
193 __f_setown(filp, NULL, PIDTYPE_TGID, 1); in f_delown()
235 type = PIDTYPE_TGID; in f_setown_ex()
284 case PIDTYPE_TGID: in f_getown_ex()
917 if (type <= PIDTYPE_TGID) { in send_sigio()
963 if (type <= PIDTYPE_TGID) { in send_sigurg()
/linux/tools/testing/selftests/sched/
A Dcs_prctl_test.c62 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/
A Dposix-cpu-timers.c94 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()
837 send_signal_locked(SIGXCPU, SEND_SIG_PRIV, tsk, PIDTYPE_TGID); in check_dl_overrun()
851 send_signal_locked(signo, SEND_SIG_PRIV, current, PIDTYPE_TGID); in check_rlimit()
925 send_signal_locked(signo, SEND_SIG_PRIV, tsk, PIDTYPE_TGID); in check_cpu_itimer()
A Ditimer.c160 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
A Dposix-timers.c304 type = !(timr->it_sigev_notify & SIGEV_THREAD_ID) ? PIDTYPE_TGID : PIDTYPE_PID; in posix_timer_queue_signal()
/linux/drivers/tty/
A Dtty_jobctrl.c218 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/
A Dcore_sched.c141 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD_GROUP != PIDTYPE_TGID); in sched_core_share_pid()
/linux/init/
A Dinit_task.c41 [PIDTYPE_TGID] = &init_struct_pid,
/linux/kernel/
A Dsignal.c637 *type = PIDTYPE_TGID; in dequeue_signal()
1171 if (type > PIDTYPE_TGID) { in __send_signal_locked()
1504 return kill_pid_info_type(sig, info, pid, PIDTYPE_TGID); in kill_pid_info()
1585 ret = __send_signal_locked(sig, &info, p, PIDTYPE_TGID, false); in kill_pid_usb_asyncio()
2143 __send_signal_locked(sig, &info, tsk->parent, PIDTYPE_TGID, false); in do_notify_parent()
2213 send_signal_locked(SIGCHLD, &info, parent, PIDTYPE_TGID); in do_notify_parent_cldstop()
3837 prepare_kill_siginfo(sig, &info, PIDTYPE_TGID); in SYSCALL_DEFINE2()
3946 type = PIDTYPE_TGID; in SYSCALL_DEFINE4()
3952 type = PIDTYPE_TGID; in SYSCALL_DEFINE4()
3970 if ((task_pid(current) != pid || type > PIDTYPE_TGID) && in SYSCALL_DEFINE4()
A Dexit.c131 detach_pid(p, PIDTYPE_TGID); in __unhash_process()
715 PIDTYPE_TGID); in forget_original_parent()
1614 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
A Dpid.c578 task = get_pid_task(pid, PIDTYPE_TGID); in pidfd_get_task()
A Dfork.c2058 if (!pid || !pid_has_task(pid, thread ? PIDTYPE_PID : PIDTYPE_TGID)) in pidfd_prepare()
2554 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process()
2573 attach_pid(p, PIDTYPE_TGID); in copy_process()
/linux/mm/
A Doom_kill.c947 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, victim, PIDTYPE_TGID); in __oom_kill_process()
987 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, p, PIDTYPE_TGID); in __oom_kill_process()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_gem.c333 task = pid_task(pid, PIDTYPE_TGID); in vmw_debugfs_gem_info_show()
/linux/drivers/gpu/drm/tegra/
A Duapi.c119 host, client->base.dev, get_task_pid(current, PIDTYPE_TGID)); in tegra_drm_ioctl_channel_open()
/linux/fs/notify/dnotify/
A Ddnotify.c372 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/linux/include/linux/sched/
A Dsignal.h678 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
/linux/drivers/gpu/drm/
A Ddrm_debugfs.c99 task = pid_task(pid, PIDTYPE_TGID); in drm_clients_info()
/linux/ipc/
A Dmqueue.c821 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify()
825 &sig_i, task, PIDTYPE_TGID); in __do_notify()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_gem.c1011 task = pid_task(pid, PIDTYPE_TGID); in amdgpu_debugfs_gem_info_show()
/linux/kernel/bpf/
A Dtask_iter.c47 task = get_pid_task(pid, PIDTYPE_TGID); in task_group_seq_get_next()
/linux/arch/s390/kernel/
A Dperf_cpum_sf.c669 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()
/linux/kernel/trace/
A Dbpf_trace.c862 return bpf_send_signal_common(sig, PIDTYPE_TGID); in BPF_CALL_1()
3337 task = get_pid_task(find_vpid(pid), PIDTYPE_TGID); in bpf_uprobe_multi_link_attach()

Completed in 86 milliseconds

12