Home
last modified time | relevance | path

Searched refs:__NR_gettid (Results 1 – 25 of 76) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c193 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()
/external/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/
Drt_tgsigqueueinfo01.c57 syscall(__NR_gettid), SIGUSR1, &uinfo)); in send_rcv_func()
85 *tid = syscall(__NR_gettid); in receiver_func()
/external/strace/tests/
Dgettid.c9 printf("gettid() = %ld\n", syscall(__NR_gettid)); in main()
Dlocaltime.c47 pid = syscall(__NR_gettid); in main()
Dattach-f-p.c65 retval_t retval = { .pid = syscall(__NR_gettid) }; in thread()
/external/strace/tests-mx32/
Dgettid.c9 printf("gettid() = %ld\n", syscall(__NR_gettid)); in main()
Dlocaltime.c47 pid = syscall(__NR_gettid); in main()
Dattach-f-p.c65 retval_t retval = { .pid = syscall(__NR_gettid) }; in thread()
/external/strace/tests-m32/
Dgettid.c9 printf("gettid() = %ld\n", syscall(__NR_gettid)); in main()
Dlocaltime.c47 pid = syscall(__NR_gettid); in main()
Dattach-f-p.c65 retval_t retval = { .pid = syscall(__NR_gettid) }; in thread()
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill.h19 return tst_syscall(__NR_gettid); in sys_gettid()
/external/ltp/testcases/kernel/sched/eas/
Dutil.h22 #define gettid() syscall(__NR_gettid)
/external/ltp/testcases/kernel/syscalls/gettid/
Dgettid01.c45 return (pid_t) syscall(__NR_gettid); in my_gettid()
/external/bcc/src/cc/
Dperf_reader.c71 pid_t tid = syscall(__NR_gettid); in perf_reader_free()
167 reader->rb_read_tid = syscall(__NR_gettid); in perf_reader_event_read()
/external/ltp/testcases/kernel/syscalls/tkill/
Dtkill01.c92 TEST(tid = ltp_syscall(__NR_gettid)); in main()
/external/perfetto/include/perfetto/base/
Dthread_utils.h47 return static_cast<pid_t>(syscall(__NR_gettid));
/external/kmod/testsuite/
Dinit_module.c358 if (__sysno == __NR_gettid) { in syscall()
376 return nextlib_syscall(__NR_gettid); in syscall()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper_unittest_helper.cc60 volatile pid_t thread_id = syscall(__NR_gettid); in thread_function()
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h767 #ifndef __NR_gettid
768 #define __NR_gettid 224 macro
886 #ifndef __NR_gettid
887 #define __NR_gettid (__NR_SYSCALL_BASE + 224) macro
1031 #ifndef __NR_gettid
1032 #define __NR_gettid 178 macro
1060 #ifndef __NR_gettid
1061 #define __NR_gettid 186 macro
1161 #ifndef __NR_gettid
1162 #define __NR_gettid (__NR_Linux + 222) macro
[all …]
/external/grpc-grpc/src/core/lib/gpr/
Dlog_linux.cc43 static long gettid(void) { return syscall(__NR_gettid); } in gettid()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c85 if ((syscall(__NR_gettid)) == parent) { in alarm_sig()
375 parent = syscall(__NR_gettid); in run_test()
/external/linux-kselftest/android/patches/
D0009-seccomp-disable-tests-broken-on-kernels-4.8.patch22 EXPECT_NE(self->mytid, syscall(__NR_gettid));
/external/minijail/linux-x86/
Dlibsyscalls.gen.c564 #ifdef __NR_gettid
565 { "gettid", __NR_gettid },
/external/honggfuzz/libhfcommon/
Dlog.c43 #define __hf_pid() (pid_t) syscall(__NR_gettid)

1234