/Linux-v4.19/arch/powerpc/kvm/ |
D | trace_hv.h | 397 __field(pid_t, tgid) 404 __entry->tgid = current->tgid; 409 __entry->runner_vcpu, __entry->n_runnable, __entry->tgid) 421 __field(pid_t, tgid) 428 __entry->tgid = current->tgid; 433 __entry->runner_vcpu, __entry->n_runnable, __entry->tgid) 444 __field(pid_t, tgid) 450 __entry->tgid = current->tgid; 455 __entry->ns, __entry->tgid) 465 __field(pid_t, tgid) [all …]
|
/Linux-v4.19/Documentation/accounting/ |
D | taskstats.txt | 21 "tgid", "process" and "thread group" are used interchangeably and refer to the 23 use of tgid, there is no special treatment for the task that is thread group 30 socket (NETLINK_GENERIC family) and sends commands specifying a pid or a tgid. 32 statistics for all tasks of the process (if tgid is specified). 42 an additional record containing the per-tgid stats is also sent to userspace. 48 send commands and process responses, listen for per-tid/tgid exit data, 62 per-tgid data. It is versioned and can be extended by each accounting subsystem 78 a pid/tgid consist of one attribute, of type TASKSTATS_CMD_ATTR_PID/TGID, 79 containing a u32 pid or tgid in the attribute payload. The pid/tgid denotes 96 a pid/tgid will be followed by some stats. [all …]
|
D | delay-accounting.txt | 39 generic data structure to userspace corresponding to per-pid and per-tgid 54 task of a thread group, the per-tgid statistics are also sent. More details 76 seen by a given task or a task group (tgid). 83 getdelays [-t tgid] [-p pid] [-c cmd...] 90 Get sum of delays, since system boot, for all pids with tgid 5
|
/Linux-v4.19/drivers/connector/ |
D | cn_proc.c | 94 ev->event_data.fork.parent_tgid = parent->tgid; in proc_fork_connector() 97 ev->event_data.fork.child_tgid = task->tgid; in proc_fork_connector() 121 ev->event_data.exec.process_tgid = task->tgid; in proc_exec_connector() 145 ev->event_data.id.process_tgid = task->tgid; in proc_id_connector() 183 ev->event_data.sid.process_tgid = task->tgid; in proc_sid_connector() 207 ev->event_data.ptrace.process_tgid = task->tgid; in proc_ptrace_connector() 210 ev->event_data.ptrace.tracer_tgid = current->tgid; in proc_ptrace_connector() 239 ev->event_data.comm.process_tgid = task->tgid; in proc_comm_connector() 264 ev->event_data.coredump.process_tgid = task->tgid; in proc_coredump_connector() 266 ev->event_data.coredump.parent_tgid = task->real_parent->tgid; in proc_coredump_connector() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | event.c | 114 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids() argument 123 *tgid = -1; in perf_event__get_comm_ids() 168 *tgid = atoi(tgids); in perf_event__get_comm_ids() 185 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm() argument 196 tgid, ppid) != 0) { in perf_event__prepare_comm() 200 *tgid = machine->pid; in perf_event__prepare_comm() 203 if (*tgid < 0) in perf_event__prepare_comm() 206 event->comm.pid = *tgid; in perf_event__prepare_comm() 225 pid_t tgid, ppid; in perf_event__synthesize_comm() local 227 if (perf_event__prepare_comm(event, pid, machine, &tgid, &ppid) != 0) in perf_event__synthesize_comm() [all …]
|
D | namespaces.c | 91 nsi->tgid = (pid_t)strtol(strrchr(statln, '\t'), in nsinfo__init() 93 nsi->nstgid = nsi->tgid; in nsinfo__init() 122 nsi->tgid = pid; in nsinfo__new() 148 nnsi->tgid = nsi->tgid; in nsinfo__copy()
|
D | namespaces.h | 31 pid_t tgid; member
|
/Linux-v4.19/fs/proc/ |
D | self.c | 16 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_self_get_link() local 19 if (!tgid) in proc_self_get_link() 25 sprintf(name, "%u", tgid); in proc_self_get_link()
|
D | thread_self.c | 16 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_thread_self_get_link() local 25 sprintf(name, "%u/task/%u", tgid, pid); in proc_thread_self_get_link()
|
D | base.c | 3036 static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) in proc_flush_task_mnt() argument 3051 if (pid == tgid) in proc_flush_task_mnt() 3055 name.len = snprintf(buf, sizeof(buf), "%u", tgid); in proc_flush_task_mnt() 3109 struct pid *pid, *tgid; in proc_flush_task() local 3113 tgid = task_tgid(task); in proc_flush_task() 3118 tgid->numbers[i].nr); in proc_flush_task() 3145 unsigned tgid; in proc_pid_lookup() local 3149 tgid = name_to_int(&dentry->d_name); in proc_pid_lookup() 3150 if (tgid == ~0U) in proc_pid_lookup() 3155 task = find_task_by_pid_ns(tgid, ns); in proc_pid_lookup() [all …]
|
/Linux-v4.19/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument 17 return syscall(SYS_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo() 20 static int sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, in sys_rt_tgsigqueueinfo() argument 23 return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo); in sys_rt_tgsigqueueinfo()
|
/Linux-v4.19/fs/cifs/ |
D | smb2file.c | 144 if (current->tgid != li->pid) in smb2_unlock_range() 168 current->tgid, num, buf); in smb2_unlock_range() 191 cfile->fid.volatile_fid, current->tgid, in smb2_unlock_range() 225 current->tgid, num, buf); in smb2_push_mand_fdlocks() 237 current->tgid, num, buf); in smb2_push_mand_fdlocks()
|
D | link.c | 335 io_parms.pid = current->tgid; in cifs_query_mf_symlink() 375 io_parms.pid = current->tgid; in cifs_create_mf_symlink() 436 io_parms.pid = current->tgid; in smb3_query_mf_symlink() 490 io_parms.pid = current->tgid; in smb3_create_mf_symlink()
|
/Linux-v4.19/fs/autofs/ |
D | waitq.c | 153 packet->tgid = wq->tgid; in autofs_notify_daemon() 359 pid_t tgid; in autofs_wait() local 371 tgid = task_tgid_nr_ns(current, ns_of_pid(sbi->oz_pgrp)); in autofs_wait() 372 if (pid == 0 || tgid == 0) in autofs_wait() 441 wq->tgid = tgid; in autofs_wait()
|
/Linux-v4.19/fs/notify/fanotify/ |
D | fanotify.c | 28 if (old_fsn->inode == new_fsn->inode && old->tgid == new->tgid && in should_merge() 174 event->tgid = get_pid(task_tgid(current)); in fanotify_alloc_event() 271 put_pid(event->tgid); in fanotify_free_event()
|
D | fanotify.h | 22 struct pid *tgid; member
|
/Linux-v4.19/kernel/ |
D | taskstats.c | 205 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() argument 218 first = find_task_by_vpid(tgid); in fill_stats_for_tgid() 526 u32 tgid; in cmd_attr_tgid() local 536 tgid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_TGID]); in cmd_attr_tgid() 537 stats = mk_reply(rep_skb, TASKSTATS_TYPE_TGID, tgid); in cmd_attr_tgid() 541 rc = fill_stats_for_tgid(tgid, stats); in cmd_attr_tgid()
|
D | signal.c | 3225 do_send_specific(pid_t tgid, pid_t pid, int sig, struct siginfo *info) in do_send_specific() argument 3232 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) { in do_send_specific() 3254 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill() argument 3265 return do_send_specific(tgid, pid, sig, &info); in do_tkill() 3278 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument 3281 if (pid <= 0 || tgid <= 0) in SYSCALL_DEFINE3() 3284 return do_tkill(tgid, pid, sig); in SYSCALL_DEFINE3() 3347 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info) in do_rt_tgsigqueueinfo() argument 3350 if (pid <= 0 || tgid <= 0) in do_rt_tgsigqueueinfo() 3362 return do_send_specific(tgid, pid, sig, info); in do_rt_tgsigqueueinfo() [all …]
|
/Linux-v4.19/arch/ia64/include/uapi/asm/ |
D | perfmon_default_smpl.h | 73 int tgid; /* thread group id (for NPTL, this is getpid()) */ member
|
/Linux-v4.19/arch/ia64/kernel/ |
D | perfmon_default_smpl.c | 171 ent->tgid = current->tgid; in default_handler()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | asm-offsets.c | 26 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in foo()
|
/Linux-v4.19/fs/orangefs/ |
D | waitqueue.c | 74 op->upcall.tgid = current->tgid; in service_operation()
|
/Linux-v4.19/arch/arc/kernel/ |
D | asm-offsets.c | 39 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in main()
|
/Linux-v4.19/include/trace/events/ |
D | sched.h | 476 __field( pid_t, tgid ) 486 __entry->tgid = task_tgid_nr(tsk); 495 __entry->pid, __entry->tgid, __entry->ngid,
|
/Linux-v4.19/include/uapi/linux/ |
D | auto_fs.h | 199 __u32 tgid; member
|