Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/
Dfcntl.c121 type = PIDTYPE_TGID; in f_setown()
148 f_modown(filp, NULL, PIDTYPE_TGID, 1); in f_delown()
185 type = PIDTYPE_TGID; in f_setown_ex()
223 case PIDTYPE_TGID: in f_getown_ex()
787 if (type <= PIDTYPE_TGID) { in send_sigio()
828 if (type <= PIDTYPE_TGID) { in send_sigurg()
/linux-6.6.21/tools/testing/selftests/sched/
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-6.6.21/kernel/time/
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()
874 send_signal_locked(SIGXCPU, SEND_SIG_PRIV, tsk, PIDTYPE_TGID); in check_dl_overrun()
888 send_signal_locked(signo, SEND_SIG_PRIV, current, PIDTYPE_TGID); in check_rlimit()
962 send_signal_locked(signo, SEND_SIG_PRIV, tsk, PIDTYPE_TGID); in check_cpu_itimer()
Ditimer.c160 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
Dposix-timers.c297 type = !(timr->it_sigev_notify & SIGEV_THREAD_ID) ? PIDTYPE_TGID : PIDTYPE_PID; in posix_timer_event()
/linux-6.6.21/include/linux/
Dpid.h12 PIDTYPE_TGID, enumerator
Dsched.h1633 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, ns); in task_tgid_nr_ns()
1638 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, NULL); in task_tgid_vnr()
/linux-6.6.21/drivers/tty/
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-6.6.21/init/
Dinit_task.c39 [PIDTYPE_TGID] = &init_struct_pid,
/linux-6.6.21/kernel/sched/
Dcore_sched.c141 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD_GROUP != PIDTYPE_TGID); in sched_core_share_pid()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gem.c258 task = pid_task(pid, PIDTYPE_TGID); in vmw_debugfs_gem_info_show()
/linux-6.6.21/kernel/bpf/
Dtask_iter.c48 task = get_pid_task(pid, PIDTYPE_TGID); in task_group_seq_get_next()
122 task = get_pid_task(pid, PIDTYPE_TGID); in task_seq_get_next()
/linux-6.6.21/mm/
Doom_kill.c945 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, victim, PIDTYPE_TGID); in __oom_kill_process()
985 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, p, PIDTYPE_TGID); in __oom_kill_process()
/linux-6.6.21/fs/notify/dnotify/
Ddnotify.c369 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/linux-6.6.21/drivers/gpu/drm/tegra/
Duapi.c119 host, client->base.dev, get_task_pid(current, PIDTYPE_TGID)); in tegra_drm_ioctl_channel_open()
/linux-6.6.21/kernel/
Dexit.c128 detach_pid(p, PIDTYPE_TGID); in __unhash_process()
711 PIDTYPE_TGID); in forget_original_parent()
1563 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
Dsignal.c647 *type = PIDTYPE_TGID; in dequeue_signal()
1182 if (type > PIDTYPE_TGID) { in __send_signal_locked()
1495 error = group_send_sig_info(sig, info, p, PIDTYPE_TGID); in kill_pid_info()
1586 ret = __send_signal_locked(sig, &info, p, PIDTYPE_TGID, false); in kill_pid_usb_asyncio()
2149 __send_signal_locked(sig, &info, tsk->parent, PIDTYPE_TGID, false); in do_notify_parent()
2219 send_signal_locked(SIGCHLD, &info, parent, PIDTYPE_TGID); in do_notify_parent_cldstop()
Dpid.c573 task = get_pid_task(pid, PIDTYPE_TGID); in pidfd_get_task()
Dfork.c2180 if (!pid || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_prepare()
2678 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process()
2697 attach_pid(p, PIDTYPE_TGID); in copy_process()
/linux-6.6.21/include/linux/sched/
Dsignal.h684 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
/linux-6.6.21/arch/ia64/kernel/
Dasm-offsets.c70 DEFINE(IA64_SIGNAL_PIDS_TGID_OFFSET, offsetof (struct signal_struct, pids[PIDTYPE_TGID])); in foo()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_debugfs.c101 task = pid_task(pid, PIDTYPE_TGID); in drm_clients_info()
/linux-6.6.21/ipc/
Dmqueue.c821 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify()
825 &sig_i, task, PIDTYPE_TGID); in __do_notify()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c976 task = pid_task(pid, PIDTYPE_TGID); in amdgpu_debugfs_gem_info_show()
/linux-6.6.21/arch/s390/kernel/
Dperf_cpum_sf.c722 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()

12