Home
last modified time | relevance | path

Searched refs:tgid (Results 1 – 12 of 12) sorted by relevance

/kernel/bpf/preload/
Dbpf_preload_kern.c54 struct pid *tgid; in finish() local
64 tgid = umd_ops.info.tgid; in finish()
65 if (tgid) { in finish()
66 wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); in finish()
86 struct pid *tgid; in fini_umd() local
91 tgid = umd_ops.info.tgid; in fini_umd()
92 if (tgid) { in fini_umd()
93 kill_pid(tgid, SIGKILL, 1); in fini_umd()
95 wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); in fini_umd()
/kernel/
Dusermode_driver.c133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
154 put_pid(info->tgid); in umd_cleanup_helper()
155 info->tgid = NULL; in umd_cleanup_helper()
175 if (WARN_ON_ONCE(info->tgid)) in fork_usermode_driver()
Dtaskstats.c191 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() argument
204 first = find_task_by_vpid(tgid); in fill_stats_for_tgid()
512 u32 tgid; in cmd_attr_tgid() local
522 tgid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_TGID]); in cmd_attr_tgid()
523 stats = mk_reply(rep_skb, TASKSTATS_TYPE_TGID, tgid); in cmd_attr_tgid()
527 rc = fill_stats_for_tgid(tgid, stats); in cmd_attr_tgid()
Dsignal.c3933 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) in do_send_specific() argument
3940 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) { in do_send_specific()
3962 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill() argument
3973 return do_send_specific(tgid, pid, sig, &info); in do_tkill()
3986 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument
3989 if (pid <= 0 || tgid <= 0) in SYSCALL_DEFINE3()
3992 return do_tkill(tgid, pid, sig); in SYSCALL_DEFINE3()
4054 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_tgsigqueueinfo() argument
4057 if (pid <= 0 || tgid <= 0) in do_rt_tgsigqueueinfo()
4067 return do_send_specific(tgid, pid, sig, info); in do_rt_tgsigqueueinfo()
[all …]
Dfork.c2340 p->tgid = current->tgid; in copy_process()
2343 p->tgid = p->pid; in copy_process()
/kernel/trace/
Dtrace_output.c622 unsigned int tgid = trace_find_tgid(entry->pid); in trace_print_context() local
624 if (!tgid) in trace_print_context()
627 trace_seq_printf(s, "(%7d) ", tgid); in trace_print_context()
1143 task = find_task_by_vpid(field->tgid); in trace_user_stack_print()
Dtrace_entries.h184 __field( unsigned int, tgid )
Dtrace.c2513 *ptr = tsk->tgid; in trace_save_tgid()
3174 entry->tgid = current->tgid; in ftrace_trace_userstack()
4248 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header() local
4252 …seq_printf(m, "# TASK-PID %s CPU# TIMESTAMP FUNCTION\n", tgid ? " TGID " : "… in print_func_help_header()
4253 …seq_printf(m, "# | | %s | | |\n", tgid ? " | " : "… in print_func_help_header()
4259 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header_irq() local
4261 int prec = tgid ? 12 : 2; in print_func_help_header_irq()
5830 int tgid = *entry; in saved_tgids_show() local
5832 if (tgid == 0) in saved_tgids_show()
5835 seq_printf(m, "%d %d\n", pid, tgid); in saved_tgids_show()
Dtrace_events.c665 bool cmd = false, tgid = false; in __ftrace_event_enable_disable() local
678 tgid = true; in __ftrace_event_enable_disable()
687 if (tgid) in __ftrace_event_enable_disable()
/kernel/bpf/
Dhelpers.c189 return (u64) task->tgid << 32 | task->pid; in BPF_CALL_0()
594 nsdata->tgid = task_tgid_nr_ns(task, pidns); in BPF_CALL_4()
Dinode.c725 if (!bpf_preload_ops->info.tgid) { in populate_bpffs()
/kernel/events/
Duprobes.c1877 current->pid, current->tgid); in prepare_uretprobe()