Home
last modified time | relevance | path

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

12

/linux/fs/
A Dfcntl.c120 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 Dexec.c1123 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
A Dlocks.c495 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in lease_setup()
/linux/tools/testing/selftests/sched/
A Dcs_prctl_test.c61 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 Dpid.h12 PIDTYPE_TGID, enumerator
A Dsched.h1581 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 Dcore_sched.c139 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD_GROUP != PIDTYPE_TGID); in sched_core_share_pid()
/linux/init/
A Dinit_task.c39 [PIDTYPE_TGID] = &init_struct_pid,
/linux/kernel/
A Dpid.c569 task = get_pid_task(pid, PIDTYPE_TGID); in pidfd_get_task()
598 if (!pid || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_create()
A Dexit.c77 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 Dsignal.c1169 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 Dfork.c2363 init_task_pid(p, PIDTYPE_TGID, pid); in copy_process()
2382 attach_pid(p, PIDTYPE_TGID); in copy_process()
/linux/mm/
A Doom_kill.c893 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 Ddnotify.c351 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/linux/kernel/time/
A Ditimer.c160 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
A Dposix-cpu-timers.c87 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 Dposix-timers.c353 type = !(timr->it_sigev_notify & SIGEV_THREAD_ID) ? PIDTYPE_TGID : PIDTYPE_PID; in posix_timer_event()
/linux/arch/ia64/kernel/
A Dasm-offsets.c70 DEFINE(IA64_SIGNAL_PIDS_TGID_OFFSET, offsetof (struct signal_struct, pids[PIDTYPE_TGID])); in foo()
/linux/include/linux/sched/
A Dsignal.h659 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
/linux/ipc/
A Dmqueue.c808 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 Dfanotify_user.c633 !pid_has_task(event->pid, PIDTYPE_TGID)) { in copy_event_to_user()
/linux/arch/s390/kernel/
A Dperf_cpum_sf.c679 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()
/linux/kernel/trace/
A Dbpf_trace.c870 return bpf_send_signal_common(sig, PIDTYPE_TGID); in BPF_CALL_1()
/linux/drivers/tty/
A Dtty_io.c2255 type = PIDTYPE_TGID; in __tty_fasync()
/linux/fs/proc/
A Dbase.c3424 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()

Completed in 73 milliseconds

12