/third_party/musl/libc-test/src/functional/ |
H A D | tgkill.c | 12 int tgid, tid;
in main() local 13 tgid = ARGV_1;
in main() 16 if (tgkill(tgid, tid, SIGPROF) == -1 && errno != ESRCH) {
in main()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify11.c | 62 int tgid = getpid(); in test01() local 64 tst_res(TINFO, "Test #%u: %s FAN_REPORT_TID: tgid=%d, tid=%d, event.pid=%d", in test01() 66 tgid, tid, event.pid); in test01() 84 else if (!(tcases[i] & FAN_REPORT_TID) && event.pid == tgid) in test01() 85 tst_res(TPASS, "event.pid == tgid"); in test01()
|
/third_party/musl/src/linux/ |
H A D | tgkill.c | 19 int tgkill(int tgid, int tid, int sig) in tgkill() argument 21 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
|
/third_party/musl/porting/linux/user/src/linux/ |
H A D | tgkill.c | 19 int tgkill(int tgid, int tid, int sig) in tgkill() argument 21 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
H A D | tgkill.h | 12 static inline int sys_tgkill(int tgid, int tid, int sig) in sys_tgkill() argument 14 return tst_syscall(__NR_tgkill, tgid, tid, sig); in sys_tgkill()
|
H A D | tgkill03.c | 80 const int *tgid; member 85 { "Invalid tgid", &invalid_pid, &parent_tid, SIGUSR1, EINVAL }, 89 { "Defunct tgid", &defunct_tid, &child_tid, SIGUSR1, ESRCH }, 97 TEST(sys_tgkill(*tc->tgid, *tc->tid, tc->sig)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/ |
H A D | rt_sigqueueinfo.h | 12 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument 14 return tst_syscall(__NR_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo()
|
/third_party/ltp/testcases/kernel/syscalls/clone/ |
H A D | clone08.c | 20 static pid_t ptid, ctid, tgid; variable 149 tgid = tst_syscall(__NR_getpid); in test_clone_thread() 178 if (tgid == tst_syscall(__NR_getpid)) in child_clone_thread()
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | tgkill.h | 24 * @param tgid the group ID of the calling process. 31 int tgkill(int tgid, int tid, int sig);
|
/third_party/musl/include/sys/ |
H A D | tgkill.h | 24 * @param tgid the group ID of the calling process. 31 int tgkill(int tgid, int tid, int sig);
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-util.c | 1175 GETGROUPS_T *gids, tgid; in pa_own_uid_in_group() local 1199 if ((k = is_group(tgid = getgid(), name)) < 0) in pa_own_uid_in_group() 1202 *gid = tgid; in pa_own_uid_in_group()
|
/third_party/libbpf/include/uapi/linux/ |
H A D | bpf.h | 1996 * Get the current pid and tgid. 1998 * A 64-bit integer containing the current tgid and pid, and 2000 * *current_task*\ **->tgid << 32 \|** 4166 * Returns 0 on success, values for *pid* and *tgid* as seen from the current 7209 __u32 tgid; member
|