Home
last modified time | relevance | path

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

12

/Linux-v5.15/fs/
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()
Dexec.c1125 transfer_pid(leader, tsk, PIDTYPE_TGID); in de_thread()
Dlocks.c603 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in lease_setup()
/Linux-v5.15/tools/testing/selftests/sched/
Dcs_prctl_test.c61 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/
Dpid.h12 PIDTYPE_TGID, enumerator
Dsched.h1585 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/
Doom_kill.c891 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/
Dinit_task.c39 [PIDTYPE_TGID] = &init_struct_pid,
/Linux-v5.15/fs/notify/dnotify/
Ddnotify.c351 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
/Linux-v5.15/kernel/time/
Ditimer.c160 struct pid *leader_pid = sig->pids[PIDTYPE_TGID]; in it_real_fn()
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()
Dposix-timers.c353 type = !(timr->it_sigev_notify & SIGEV_THREAD_ID) ? PIDTYPE_TGID : PIDTYPE_PID; in posix_timer_event()
/Linux-v5.15/kernel/
Dexit.c77 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()
Dpid.c562 if (!pid || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_create()
Dsignal.c1169 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()
Dfork.c2365 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/
Dsignal.h644 return task->signal->pids[PIDTYPE_TGID]; in task_tgid()
/Linux-v5.15/arch/ia64/kernel/
Dasm-offsets.c70 DEFINE(IA64_SIGNAL_PIDS_TGID_OFFSET, offsetof (struct signal_struct, pids[PIDTYPE_TGID])); in foo()
/Linux-v5.15/ipc/
Dmqueue.c808 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/
Dcore-scheduling.rst65 For example, if arg4 is ``PIDTYPE_TGID``, then the operation of this command
/Linux-v5.15/fs/notify/fanotify/
Dfanotify_user.c588 !pid_has_task(event->pid, PIDTYPE_TGID)) { in copy_event_to_user()
/Linux-v5.15/arch/s390/kernel/
Dperf_cpum_sf.c679 data->tid_entry.pid = cpumsf_pid_type(event, pid, PIDTYPE_TGID); in cpumsf_output_event_pid()
/Linux-v5.15/kernel/trace/
Dbpf_trace.c824 return bpf_send_signal_common(sig, PIDTYPE_TGID); in BPF_CALL_1()
/Linux-v5.15/drivers/tty/
Dtty_io.c2255 type = PIDTYPE_TGID; in __tty_fasync()
/Linux-v5.15/fs/proc/
Dbase.c3419 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()

12