/Linux-v5.15/fs/ |
D | fcntl.c | 120 type = PIDTYPE_TGID; in f_setown() 147 f_modown(filp, NULL, PIDTYPE_TGID, 1); in f_delown() 184 type = PIDTYPE_TGID; in f_setown_ex() 222 case PIDTYPE_TGID: in f_getown_ex() 803 if (type <= PIDTYPE_TGID) { in send_sigio() 844 if (type <= PIDTYPE_TGID) { in send_sigurg()
|
D | exec.c | 1125 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
|
D | locks.c | 603 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in lease_setup()
|
/Linux-v5.15/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 61 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enumerator 283 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, pid, PIDTYPE_TGID, 0) < 0) in main()
|
/Linux-v5.15/include/linux/ |
D | pid.h | 12 PIDTYPE_TGID, enumerator
|
D | sched.h | 1585 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, ns); in task_tgid_nr_ns() 1590 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, NULL); in task_tgid_vnr()
|
/Linux-v5.15/mm/ |
D | oom_kill.c | 891 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, victim, PIDTYPE_TGID); in __oom_kill_process() 931 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, p, PIDTYPE_TGID); in __oom_kill_process() 1164 task = get_pid_task(pid, PIDTYPE_TGID); in SYSCALL_DEFINE2()
|
/Linux-v5.15/init/ |
D | init_task.c | 39 [PIDTYPE_TGID] = &init_struct_pid,
|
/Linux-v5.15/fs/notify/dnotify/ |
D | dnotify.c | 351 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
|
/Linux-v5.15/kernel/time/ |
D | itimer.c | 160 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
|
D | posix-cpu-timers.c | 87 return pid_has_task(pid, PIDTYPE_TGID) ? pid : NULL; in pid_for_clock() 103 return CPUCLOCK_PERTHREAD(clock) ? PIDTYPE_PID : PIDTYPE_TGID; in clock_pid_type()
|
D | posix-timers.c | 353 type = !(timr->it_sigev_notify & SIGEV_THREAD_ID) ? PIDTYPE_TGID : PIDTYPE_PID; in posix_timer_event()
|
/Linux-v5.15/kernel/ |
D | exit.c | 77 detach_pid(p, PIDTYPE_TGID); in __unhash_process() 645 PIDTYPE_TGID); in forget_original_parent() 1463 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
|
D | pid.c | 562 if (!pid || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_create()
|
D | signal.c | 1169 if (type > PIDTYPE_TGID) { in __send_signal() 1284 return send_signal(sig, info, p, PIDTYPE_TGID); in __group_send_sig_info() 1466 error = group_send_sig_info(sig, info, p, PIDTYPE_TGID); in kill_pid_info() 1557 ret = __send_signal(sig, &info, p, PIDTYPE_TGID, false); in kill_pid_usb_asyncio() 2070 __send_signal(sig, &info, tsk->parent, PIDTYPE_TGID, false); in do_notify_parent()
|
D | fork.c | 2365 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process() 2384 attach_pid(p, PIDTYPE_TGID); in copy_process()
|
/Linux-v5.15/include/linux/sched/ |
D | signal.h | 644 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
|
/Linux-v5.15/arch/ia64/kernel/ |
D | asm-offsets.c | 70 DEFINE(IA64_SIGNAL_PIDS_TGID_OFFSET, offsetof (struct signal_struct, pids[PIDTYPE_TGID])); in foo()
|
/Linux-v5.15/ipc/ |
D | mqueue.c | 808 task = pid_task(info->notify_owner, PIDTYPE_TGID); in __do_notify() 812 &sig_i, task, PIDTYPE_TGID); in __do_notify()
|
/Linux-v5.15/Documentation/admin-guide/hw-vuln/ |
D | core-scheduling.rst | 65 For example, if arg4 is ``PIDTYPE_TGID``, then the operation of this command
|
/Linux-v5.15/fs/notify/fanotify/ |
D | fanotify_user.c | 588 !pid_has_task(event->pid, PIDTYPE_TGID)) { in copy_event_to_user()
|
/Linux-v5.15/arch/s390/kernel/ |
D | perf_cpum_sf.c | 679 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()
|
/Linux-v5.15/kernel/trace/ |
D | bpf_trace.c | 824 return bpf_send_signal_common(sig, PIDTYPE_TGID); in BPF_CALL_1()
|
/Linux-v5.15/drivers/tty/ |
D | tty_io.c | 2255 type = PIDTYPE_TGID; in __tty_fasync()
|
/Linux-v5.15/fs/proc/ |
D | base.c | 3419 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()
|