Searched refs:tgid (Results 1 – 11 of 11) sorted by relevance
/kernel/ |
D | usermode_driver.c | 133 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()
|
D | taskstats.c | 213 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() argument 226 first = find_task_by_vpid(tgid); in fill_stats_for_tgid() 534 u32 tgid; in cmd_attr_tgid() local 544 tgid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_TGID]); in cmd_attr_tgid() 545 stats = mk_reply(rep_skb, TASKSTATS_TYPE_TGID, tgid); in cmd_attr_tgid() 549 rc = fill_stats_for_tgid(tgid, stats); in cmd_attr_tgid()
|
D | signal.c | 3921 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) in do_send_specific() argument 3928 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) { in do_send_specific() 3950 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill() argument 3961 return do_send_specific(tgid, pid, sig, &info); in do_tkill() 3974 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument 3977 if (pid <= 0 || tgid <= 0) in SYSCALL_DEFINE3() 3980 return do_tkill(tgid, pid, sig); in SYSCALL_DEFINE3() 4042 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_tgsigqueueinfo() argument 4045 if (pid <= 0 || tgid <= 0) in do_rt_tgsigqueueinfo() 4055 return do_send_specific(tgid, pid, sig, info); in do_rt_tgsigqueueinfo() [all …]
|
D | fork.c | 2446 p->tgid = current->tgid; in copy_process() 2449 p->tgid = p->pid; in copy_process()
|
/kernel/bpf/ |
D | task_iter.c | 232 pid_t tgid; in bpf_iter_attach_task() local 253 tgid = pid_nr_ns(pid, task_active_pid_ns(current)); in bpf_iter_attach_task() 254 aux->task.pid = tgid; in bpf_iter_attach_task()
|
D | helpers.c | 224 return (u64) task->tgid << 32 | task->pid; in BPF_CALL_0() 604 nsdata->tgid = task_tgid_nr_ns(task, pidns); in BPF_CALL_4()
|
/kernel/trace/ |
D | trace_output.c | 617 unsigned int tgid = trace_find_tgid(entry->pid); in trace_print_context() local 619 if (!tgid) in trace_print_context() 622 trace_seq_printf(s, "(%7d) ", tgid); in trace_print_context() 1142 task = find_task_by_vpid(field->tgid); in trace_user_stack_print()
|
D | trace_entries.h | 184 __field( unsigned int, tgid )
|
D | trace.c | 2527 *ptr = tsk->tgid; in trace_save_tgid() 3195 entry->tgid = current->tgid; in ftrace_trace_userstack() 4269 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header() local 4273 …seq_printf(m, "# TASK-PID %s CPU# TIMESTAMP FUNCTION\n", tgid ? " TGID " : "… in print_func_help_header() 4274 …seq_printf(m, "# | | %s | | |\n", tgid ? " | " : "… in print_func_help_header() 4280 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header_irq() local 4282 int prec = tgid ? 12 : 2; in print_func_help_header_irq() 5845 int tgid = *entry; in saved_tgids_show() local 5847 if (tgid == 0) in saved_tgids_show() 5850 seq_printf(m, "%d %d\n", pid, tgid); in saved_tgids_show()
|
D | trace_events.c | 680 bool cmd = false, tgid = false; in __ftrace_event_enable_disable() local 693 tgid = true; in __ftrace_event_enable_disable() 702 if (tgid) in __ftrace_event_enable_disable()
|
/kernel/events/ |
D | uprobes.c | 1876 current->pid, current->tgid); in prepare_uretprobe()
|