/third_party/lwip/ |
D | 0014-fix-some-compile-errors.patch | 20 - snprintf(mpname, MEMZONE_NAMESIZE, "%ld_%s", gettid(), #name); \ 21 + snprintf(mpname, MEMZONE_NAMESIZE, "%d_%s", gettid(), #name); \ 29 - snprintf(mpname, MEMZONE_NAMESIZE, "%ld_%s", gettid(), #variable_name); \ 30 + snprintf(mpname, MEMZONE_NAMESIZE, "%d_%s", gettid(), #variable_name); \ 42 -#define gettid() syscall(__NR_gettid) 43 +extern int gettid(void);
|
D | 0025-Replace-gettid-with-syscall-SYS_gettid.patch | 4 Subject: [PATCH] Replace gettid() with syscall(SYS_gettid) 6 Remove gettid() to address a backport issue for gazelle library. 22 - snprintf(mpname, MEMZONE_NAMESIZE, "%d_%s", gettid(), #name); \ 31 - snprintf(mpname, MEMZONE_NAMESIZE, "%d_%s", gettid(), #variable_name); \ 50 -extern int gettid(void);
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | getprocpid.c | 105 pid_t pid2 = gettid(); in pthread_func() 121 EXPECT_EQ("getproctid_0100", pid1, gettid()); in getproctid_0100() 141 EXPECT_EQ("getproctid_0200", pid1, gettid()); in getproctid_0200() 146 if (pid2 != gettid()) { in getproctid_0200() 182 EXPECT_EQ("getproctid_0300", pid1, gettid()); in getproctid_0300()
|
/third_party/ltp/testcases/realtime/func/pi-tests/ |
D | testpi-1.c | 71 int gettid(void) in gettid() function 84 int i, tid = gettid(); in func_nonrt() 114 int i, tid = gettid(); in func_rt() 142 int i, tid = gettid(); in func_noise()
|
D | testpi-4.c | 72 int gettid(void) in gettid() function 85 int i, tid = gettid(); in func_nonrt() 116 int i, tid = gettid(); in func_rt() 144 int i, tid = gettid(); in func_noise()
|
D | testpi-2.c | 73 int gettid(void) in gettid() function 86 int i, tid = gettid(); in func_lowrt() 116 int i, tid = gettid(); in func_rt() 144 int i, tid = gettid(); in func_noise()
|
/third_party/rust/crates/rustix/src/thread/ |
D | id.rs | 15 pub fn gettid() -> Pid { in gettid() function 16 backend::thread::syscalls::gettid() in gettid()
|
D | mod.rs | 31 pub use id::gettid;
|
/third_party/rust/crates/rustix/tests/thread/ |
D | id.rs | 6 assert_eq!(thread::gettid(), thread::gettid()); in test_gettid()
|
D | prctl.rs | 97 match core_scheduling_cookie(rustix::thread::gettid(), CoreSchedulingScope::Thread) { in test_core_scheduling_cookie()
|
/third_party/musl/libc-test/src/functional/ |
D | pthread_gettid_np.c | 12 *((pid_t *)arg) = gettid(); in pthread_test() 18 TEST(gettid() == pthread_gettid_np(pthread_self()),"pthread_gettid_np() is failed\n"); in main()
|
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
D | testpi-3.c | 67 int gettid(void) in gettid() function 101 int rc, i, j, policy, tid = gettid(); in func_nonrt() 150 int rc, i, j, policy, tid = gettid(); in func_rt() 206 int rc, i, j, policy, tid = gettid(); in func_noise()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify11.c | 36 #define gettid() syscall(SYS_gettid) macro 45 tid = gettid(); in thread_create_file()
|
/third_party/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs05_make_tree.c | 54 #define gettid() syscall(__NR_gettid) macro 132 pid_t tid = gettid(); in thread_fn()
|
/third_party/rust/crates/rustix/src/backend/libc/thread/ |
D | syscalls.rs | 276 pub(crate) fn gettid() -> Pid { in gettid() function 281 fn gettid() via SYS_gettid -> c::pid_t in gettid() 285 let tid = gettid(); in gettid()
|
/third_party/musl/src/linux/ |
D | gettid.c | 5 pid_t gettid(void) in gettid() function
|
/third_party/ltp/testcases/realtime/func/rt-migrate/ |
D | rt-migrate.c | 73 #define gettid() syscall(__NR_gettid) macro 316 thread_pids[id] = gettid(); in start_task() 330 pid = gettid(); in start_task()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | setpriority.c | 27 int result = setpriority(PRIO_PROCESS, gettid(), 1); in setpriority_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
D | linux_gettid_test.cpp | 20 pid_t tid = gettid();
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
D | OboeTesterStreamCallback.cpp | 28 int scheduler = sched_getscheduler(gettid()); in printScheduler()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | DebugAndroid.cpp | 32 …GE("Waiting for debugger: gdbserver :${PORT} --attach %u. Look for thread %u", getpid(), gettid()); in AndroidEnterDebugger()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_svga.c | 276 snprintf(desc, sizeof(desc) - 1, "vmw_winsys_screen=%p pid=%d", vws, gettid()); in vmw_svga_winsys_add_stats() 311 const pid_t pid = gettid(); in vmw_winsys_screen_mksstat_acq_slot() 354 __atomic_store_n(&vws->mksstat_tls[slot].pid, gettid(), __ATOMIC_RELEASE); in vmw_winsys_screen_mksstat_rel_slot() 826 uint32_t expected = gettid(); in vmw_svga_winsys_stats_time_pop()
|
/third_party/skia/third_party/externals/oboe/samples/shared/ |
D | DefaultAudioStreamCallback.h | 112 pid_t current_thread_id = gettid(); in setThreadAffinity()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
D | thread_rwlock_test.cpp | 54 arg->tid_ = gettid(); in PthreadRwlockWakeupHelper() 63 arg->tid_ = gettid(); in PthreadRwlockTimeoutHelper()
|
D | thread_pthrd_test.cpp | 521 arg->tid = gettid(); in ThreadGettidNpFn() 534 EXPECT_EQ(gettid(), pthread_gettid_np(pthread_self()));
|