/third_party/ltp/include/lapi/ |
H A D | prctl.h | 12 #ifndef PR_SET_NAME 13 # define PR_SET_NAME 15 macro
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | thread-posix.c | 71 prctl(PR_SET_NAME, t->name); in internal_thread_func() 184 prctl(PR_SET_NAME, name); in pa_thread_set_name()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | prctl.c | 29 int result = prctl(PR_SET_NAME, (unsigned long)"TestThread"); in prctl_0100()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | prctl.c | 42 if (option != PR_SET_NAME) { in prctl()
|
/third_party/musl/src/thread/ |
H A D | pthread_setname_np.c | 18 return prctl(PR_SET_NAME, (unsigned long)name, 0UL, 0UL, 0UL) ? errno : 0; in pthread_setname_np()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_prctl_test.cpp | 22 int setResult = prctl(PR_SET_NAME, static_cast<const void*>(threadName)); in HWTEST_F()
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
H A D | prctl05.c | 10 * Test PR_GET_NAME and PR_SET_NAME of prctl(2). 45 TEST(prctl(PR_SET_NAME, tc->setname)); in verify_prctl() 47 tst_res(TFAIL | TTERRNO, "prctl(PR_SET_NAME) failed"); in verify_prctl() 50 tst_res(TPASS, "prctl(PR_SET_NAME, '%s') succeeded", tc->setname); in verify_prctl()
|
H A D | prctl02.c | 95 {PR_SET_NAME, &bad_addr, &num_0, EFAULT, "PR_SET_NAME"},
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | prctl.h | 40 #define PR_SET_NAME 15 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | prctl.h | 40 #define PR_SET_NAME 15 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | prctl.h | 40 #define PR_SET_NAME 15 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | prctl.h | 40 #define PR_SET_NAME 15 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | prctl.h | 40 #define PR_SET_NAME 15 macro
|
/third_party/musl/include/sys/ |
H A D | prctl.h | 40 #define PR_SET_NAME 15 macro
|
/third_party/rust/crates/rustix/src/thread/ |
H A D | prctl.rs | 52 // PR_GET_NAME/PR_SET_NAME 72 const PR_SET_NAME: c_int = 15; consts 77 /// - [`prctl(PR_SET_NAME,...)`] 79 /// [`prctl(PR_SET_NAME,...)`]: https://man7.org/linux/man-pages/man2/prctl.2.html 82 unsafe { prctl_2args(PR_SET_NAME, name.as_ptr() as *mut _) }.map(|_r| ()) in set_name()
|
/third_party/node/deps/uv/src/unix/ |
H A D | linux-core.c | 736 #if defined(PR_SET_NAME) in uv__set_process_title() 737 prctl(PR_SET_NAME, title); /* Only copies first 16 characters. */ in uv__set_process_title()
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-posix.cc | 1038 #elif defined(PR_SET_NAME) in SetThreadName() 1039 prctl(PR_SET_NAME, in SetThreadName()
|
/third_party/libuv/src/unix/ |
H A D | linux.c | 2084 #if defined(PR_SET_NAME) in uv__set_process_title() 2085 prctl(PR_SET_NAME, title); /* Only copies first 16 characters. */ in uv__set_process_title()
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
H A D | mod.rs | 1065 pub const PR_SET_NAME: ::c_int = 15; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 1209 pub const PR_SET_NAME: u32 = 15; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 2548 pub const PR_SET_NAME: ::c_int = 15; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1959 pub const PR_SET_NAME: ::c_int = 15; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 1212 pub const PR_SET_NAME: u32 = 15; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 1204 pub const PR_SET_NAME: u32 = 15; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 1222 pub const PR_SET_NAME: u32 = 15; consts
|