Lines Matching defs:tgid
2900 do_send_specific(pid_t tgid, pid_t pid, int sig, struct siginfo *info)
2907 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) {
2929 static int do_tkill(pid_t tgid, pid_t pid, int sig)
2939 return do_send_specific(tgid, pid, sig, &info);
2944 * @tgid: the thread group ID of the thread
2948 * This syscall also checks the @tgid and returns -ESRCH even if the PID
2952 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig)
2955 if (pid <= 0 || tgid <= 0)
2958 return do_tkill(tgid, pid, sig);
3023 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info)
3026 if (pid <= 0 || tgid <= 0)
3040 return do_send_specific(tgid, pid, sig, info);
3043 SYSCALL_DEFINE4(rt_tgsigqueueinfo, pid_t, tgid, pid_t, pid, int, sig,
3051 return do_rt_tgsigqueueinfo(tgid, pid, sig, &info);
3056 compat_pid_t, tgid,
3065 return do_rt_tgsigqueueinfo(tgid, pid, sig, &info);