Searched refs:tgid (Results 1 – 9 of 9) sorted by relevance
/kernel/ |
D | taskstats.c | 195 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() argument 208 first = find_task_by_vpid(tgid); in fill_stats_for_tgid() 516 u32 tgid; in cmd_attr_tgid() local 526 tgid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_TGID]); in cmd_attr_tgid() 527 stats = mk_reply(rep_skb, TASKSTATS_TYPE_TGID, tgid); in cmd_attr_tgid() 531 rc = fill_stats_for_tgid(tgid, stats); in cmd_attr_tgid()
|
D | signal.c | 3761 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) in do_send_specific() argument 3768 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) { in do_send_specific() 3790 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill() argument 3801 return do_send_specific(tgid, pid, sig, &info); in do_tkill() 3814 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument 3817 if (pid <= 0 || tgid <= 0) in SYSCALL_DEFINE3() 3820 return do_tkill(tgid, pid, sig); in SYSCALL_DEFINE3() 3882 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_tgsigqueueinfo() argument 3885 if (pid <= 0 || tgid <= 0) in do_rt_tgsigqueueinfo() 3895 return do_send_specific(tgid, pid, sig, info); in do_rt_tgsigqueueinfo() [all …]
|
D | fork.c | 2098 p->tgid = current->tgid; in copy_process() 2105 p->tgid = p->pid; in copy_process()
|
/kernel/trace/ |
D | trace_output.c | 579 unsigned int tgid = trace_find_tgid(entry->pid); in trace_print_context() local 581 if (!tgid) in trace_print_context() 584 trace_seq_printf(s, "(%5d) ", tgid); in trace_print_context() 1103 task = find_task_by_vpid(field->tgid); in trace_user_stack_print()
|
D | trace_entries.h | 196 __field( unsigned int, tgid )
|
D | trace.c | 2239 tgid_map[tsk->pid] = tsk->tgid; in trace_save_tgid() 2969 entry->tgid = current->tgid; in ftrace_trace_userstack() 3606 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header() local 3610 seq_printf(m, "# TASK-PID %s CPU# TIMESTAMP FUNCTION\n", tgid ? "TGID " : ""); in print_func_help_header() 3611 seq_printf(m, "# | | %s | | |\n", tgid ? " | " : ""); in print_func_help_header() 3617 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header_irq() local 3619 int prec = tgid ? 10 : 2; in print_func_help_header_irq()
|
D | trace_events.c | 432 bool cmd = false, tgid = false; in __ftrace_event_enable_disable() local 445 tgid = true; in __ftrace_event_enable_disable() 454 if (tgid) in __ftrace_event_enable_disable()
|
/kernel/bpf/ |
D | helpers.c | 162 return (u64) task->tgid << 32 | task->pid; in BPF_CALL_0()
|
/kernel/events/ |
D | uprobes.c | 1879 current->pid, current->tgid); in prepare_uretprobe()
|