Home
last modified time | relevance | path

Searched refs:gettid (Results 1 – 25 of 72) sorted by relevance

123

/third_party/lwip/
D0014-fix-some-compile-errors.patch20 - 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);
D0025-Replace-gettid-with-syscall-SYS_gettid.patch4 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/
Dgetprocpid.c105 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/
Dtestpi-1.c71 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()
Dtestpi-4.c72 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()
Dtestpi-2.c73 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/
Did.rs15 pub fn gettid() -> Pid { in gettid() function
16 backend::thread::syscalls::gettid() in gettid()
Dmod.rs31 pub use id::gettid;
/third_party/rust/crates/rustix/tests/thread/
Did.rs6 assert_eq!(thread::gettid(), thread::gettid()); in test_gettid()
Dprctl.rs97 match core_scheduling_cookie(rustix::thread::gettid(), CoreSchedulingScope::Thread) { in test_core_scheduling_cookie()
/third_party/musl/libc-test/src/functional/
Dpthread_gettid_np.c12 *((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/
Dtestpi-3.c67 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/
Dfanotify11.c36 #define gettid() syscall(SYS_gettid) macro
45 tid = gettid(); in thread_create_file()
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c54 #define gettid() syscall(__NR_gettid) macro
132 pid_t tid = gettid(); in thread_fn()
/third_party/rust/crates/rustix/src/backend/libc/thread/
Dsyscalls.rs276 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/
Dgettid.c5 pid_t gettid(void) in gettid() function
/third_party/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c73 #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/
Dsetpriority.c27 int result = setpriority(PRIO_PROCESS, gettid(), 1); in setpriority_0100()
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
Dlinux_gettid_test.cpp20 pid_t tid = gettid();
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DOboeTesterStreamCallback.cpp28 int scheduler = sched_getscheduler(gettid()); in printScheduler()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DDebugAndroid.cpp32 …GE("Waiting for debugger: gdbserver :${PORT} --attach %u. Look for thread %u", getpid(), gettid()); in AndroidEnterDebugger()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c276 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/
DDefaultAudioStreamCallback.h112 pid_t current_thread_id = gettid(); in setThreadAffinity()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dthread_rwlock_test.cpp54 arg->tid_ = gettid(); in PthreadRwlockWakeupHelper()
63 arg->tid_ = gettid(); in PthreadRwlockTimeoutHelper()
Dthread_pthrd_test.cpp521 arg->tid = gettid(); in ThreadGettidNpFn()
534 EXPECT_EQ(gettid(), pthread_gettid_np(pthread_self()));

123