/linux/fs/ |
A 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()
|
A D | exec.c | 1123 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
|
A D | locks.c | 495 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in lease_setup()
|
/linux/tools/testing/selftests/sched/ |
A D | cs_prctl_test.c | 61 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enumerator 291 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, pid, PIDTYPE_TGID, 0) < 0) in main()
|
/linux/include/linux/ |
A D | pid.h | 12 PIDTYPE_TGID, enumerator
|
A D | sched.h | 1581 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, ns); in task_tgid_nr_ns() 1586 return __task_pid_nr_ns(tsk, PIDTYPE_TGID, NULL); in task_tgid_vnr()
|
/linux/kernel/sched/ |
A D | core_sched.c | 139 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD_GROUP != PIDTYPE_TGID); in sched_core_share_pid()
|
/linux/init/ |
A D | init_task.c | 39 [PIDTYPE_TGID] = &init_struct_pid,
|
/linux/kernel/ |
A D | pid.c | 569 task = get_pid_task(pid, PIDTYPE_TGID); in pidfd_get_task() 598 if (!pid || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_create()
|
A D | exit.c | 77 detach_pid(p, PIDTYPE_TGID); in __unhash_process() 651 PIDTYPE_TGID); in forget_original_parent() 1470 target = pid_task(wo->wo_pid, PIDTYPE_TGID); in do_wait_pid()
|
A 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() 1475 error = group_send_sig_info(sig, info, p, PIDTYPE_TGID); in kill_pid_info() 1566 ret = __send_signal(sig, &info, p, PIDTYPE_TGID, false); in kill_pid_usb_asyncio() 2101 __send_signal(sig, &info, tsk->parent, PIDTYPE_TGID, false); in do_notify_parent()
|
A D | fork.c | 2363 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process() 2382 attach_pid(p, PIDTYPE_TGID); in copy_process()
|
/linux/mm/ |
A D | oom_kill.c | 893 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, victim, PIDTYPE_TGID); in __oom_kill_process() 933 do_send_sig_info(SIGKILL, SEND_SIG_PRIV, p, PIDTYPE_TGID); in __oom_kill_process()
|
/linux/fs/notify/dnotify/ |
A D | dnotify.c | 351 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
|
/linux/kernel/time/ |
A D | itimer.c | 160 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
|
A 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()
|
A D | posix-timers.c | 353 type = !(timr->it_sigev_notify & SIGEV_THREAD_ID) ? PIDTYPE_TGID : PIDTYPE_PID; in posix_timer_event()
|
/linux/arch/ia64/kernel/ |
A D | asm-offsets.c | 70 DEFINE(IA64_SIGNAL_PIDS_TGID_OFFSET, offsetof (struct signal_struct, pids[PIDTYPE_TGID])); in foo()
|
/linux/include/linux/sched/ |
A D | signal.h | 659 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
|
/linux/ipc/ |
A 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/fs/notify/fanotify/ |
A D | fanotify_user.c | 633 !pid_has_task(event->pid, PIDTYPE_TGID)) { in copy_event_to_user()
|
/linux/arch/s390/kernel/ |
A D | perf_cpum_sf.c | 679 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()
|
/linux/kernel/trace/ |
A D | bpf_trace.c | 870 return bpf_send_signal_common(sig, PIDTYPE_TGID); in BPF_CALL_1()
|
/linux/drivers/tty/ |
A D | tty_io.c | 2255 type = PIDTYPE_TGID; in __tty_fasync()
|
/linux/fs/proc/ |
A D | base.c | 3424 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()
|