Searched refs:__NR_gettid (Results 1 – 25 of 84) sorted by relevance
1234
193 if ((sprintf(file_name, "parent_file_%ld", syscall(__NR_gettid))) <= 0) in setup()262 child_pid = syscall(__NR_gettid); in child_fn()459 if ((syscall(__NR_gettid)) == child_pid) in sig_child_defined_handler()
57 syscall(__NR_gettid), SIGUSR1, &uinfo)); in send_rcv_func()85 *tid = syscall(__NR_gettid); in receiver_func()
9 printf("gettid() = %ld\n", syscall(__NR_gettid)); in main()
47 pid = syscall(__NR_gettid); in main()
65 retval_t retval = { .pid = syscall(__NR_gettid) }; in thread()
19 return tst_syscall(__NR_gettid); in sys_gettid()
22 #define gettid() syscall(__NR_gettid)
45 return (pid_t) syscall(__NR_gettid); in my_gettid()
92 TEST(tid = ltp_syscall(__NR_gettid)); in main()
32 asm volatile("syscall" : "=a"(retval) : "a"(__NR_gettid) : "rcx", "r11", in syscall_gettid()
71 pid_t tid = syscall(__NR_gettid); in perf_reader_free()167 reader->rb_read_tid = syscall(__NR_gettid); in perf_reader_event_read()
50 return static_cast<pid_t>(syscall(__NR_gettid));
71 tid = tst_syscall(__NR_gettid); in verify_prctl()
61 *thread_id = syscall(__NR_gettid); in thread_function()
237 #elif defined(__NR_gettid) in GetCurrentThreadIdInternal()238 return static_cast<int32>(syscall(__NR_gettid)); in GetCurrentThreadIdInternal()
43 static long sys_gettid(void) { return syscall(__NR_gettid); } in sys_gettid()
358 if (__sysno == __NR_gettid) { in syscall()376 return nextlib_syscall(__NR_gettid); in syscall()
49 tid = tst_syscall(__NR_gettid); in handle_thread()
41 return syscall(__NR_gettid); in CurrentThreadId()