Lines Matching defs:tgid
4208 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info)
4215 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) {
4237 static int do_tkill(pid_t tgid, pid_t pid, int sig)
4243 return do_send_specific(tgid, pid, sig, &info);
4248 * @tgid: the thread group ID of the thread
4252 * This syscall also checks the @tgid and returns -ESRCH even if the PID
4256 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig)
4259 if (pid <= 0 || tgid <= 0)
4262 return do_tkill(tgid, pid, sig);
4321 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info)
4324 if (pid <= 0 || tgid <= 0)
4331 return do_send_specific(tgid, pid, sig, info);
4334 SYSCALL_DEFINE4(rt_tgsigqueueinfo, pid_t, tgid, pid_t, pid, int, sig,
4341 return do_rt_tgsigqueueinfo(tgid, pid, sig, &info);
4346 compat_pid_t, tgid,
4355 return do_rt_tgsigqueueinfo(tgid, pid, sig, &info);