Home
last modified time | relevance | path

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

/kernel/
Dtaskstats.c218 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() argument
229 first = find_task_by_vpid(tgid); in fill_stats_for_tgid()
553 u32 tgid; in cmd_attr_tgid() local
563 tgid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_TGID]); in cmd_attr_tgid()
564 stats = mk_reply(rep_skb, TASKSTATS_TYPE_TGID, tgid); in cmd_attr_tgid()
568 rc = fill_stats_for_tgid(tgid, stats); in cmd_attr_tgid()
Dsignal.c2911 do_send_specific(pid_t tgid, pid_t pid, int sig, struct siginfo *info) in do_send_specific() argument
2918 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) { in do_send_specific()
2940 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill() argument
2950 return do_send_specific(tgid, pid, sig, &info); in do_tkill()
2963 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument
2966 if (pid <= 0 || tgid <= 0) in SYSCALL_DEFINE3()
2969 return do_tkill(tgid, pid, sig); in SYSCALL_DEFINE3()
3034 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info) in do_rt_tgsigqueueinfo() argument
3037 if (pid <= 0 || tgid <= 0) in do_rt_tgsigqueueinfo()
3051 return do_send_specific(tgid, pid, sig, info); in do_rt_tgsigqueueinfo()
[all …]
Daudit.h326 if (unlikely((audit_pid && t->tgid == audit_pid) || in audit_signal_info()
Dfork.c1485 p->tgid = current->tgid; in copy_process()
1492 p->tgid = p->pid; in copy_process()
Dauditsc.c757 if (audit_pid && tsk->tgid == audit_pid) in audit_filter_syscall()
811 if (audit_pid && tsk->tgid == audit_pid) in audit_filter_inodes()
2334 if (audit_pid && t->tgid == audit_pid) { in __audit_signal_info()
/kernel/trace/
Dtrace_output.c348 task = find_task_by_vpid(entry->tgid); in seq_print_userip_objs()
524 int tgid; in trace_print_context() local
533 tgid = trace_find_tgid(entry->pid); in trace_print_context()
534 if (tgid < 0) in trace_print_context()
537 ret = trace_seq_printf(s, "(%5d) ", tgid); in trace_print_context()
Dtrace_entries.h199 __field( unsigned int, tgid )
Dtrace.c1538 savedcmd->map_cmdline_to_tgid[idx] = tsk->tgid; in trace_save_cmdline()
1585 int tgid; in __find_tgid_locked() local
1589 tgid = savedcmd->map_cmdline_to_tgid[map]; in __find_tgid_locked()
1591 tgid = -1; in __find_tgid_locked()
1593 return tgid; in __find_tgid_locked()
1598 int tgid; in trace_find_tgid() local
1603 tgid = __find_tgid_locked(pid); in trace_find_tgid()
1608 return tgid; in trace_find_tgid()
1954 entry->tgid = current->tgid; in ftrace_trace_userstack()
/kernel/events/
Duprobes.c1536 current->pid, current->tgid); in prepare_uretprobe()
1561 current->pid, current->tgid); in prepare_uretprobe()
1833 current->pid, current->tgid); in handle_swbp()