/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | prctl.c | 32 result = prctl(PR_GET_NAME, (unsigned long)buf); in prctl_0100()
|
/third_party/ltp/include/lapi/ |
H A D | prctl.h | 14 # define PR_GET_NAME 16 macro
|
/third_party/musl/src/thread/ |
H A D | pthread_getname_np.c | 16 return prctl(PR_GET_NAME, (unsigned long)name, 0UL, 0UL, 0UL) ? errno : 0; in pthread_getname_np()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_prctl_test.cpp | 26 int getResult = prctl(PR_GET_NAME, static_cast<void*>(buffer)); 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). 52 TEST(prctl(PR_GET_NAME, buf)); in verify_prctl() 54 tst_res(TFAIL | TTERRNO, "prctl(PR_GET_NAME) failed"); in verify_prctl() 60 "prctl(PR_GET_NAME) failed, expected %s, got %s", in verify_prctl() 64 tst_res(TPASS, "prctl(PR_GET_NAME) succeeded, thread name is %s", buf); in verify_prctl()
|
/third_party/pulseaudio/src/pulse/ |
H A D | util.c | 271 #if defined(HAVE_SYS_PRCTL_H) && defined(PR_GET_NAME) in pa_get_binary_name() 283 if (prctl(PR_GET_NAME, (unsigned long) tcomm, 0, 0, 0) == 0) in pa_get_binary_name()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | prctl.h | 41 #define PR_GET_NAME 16 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | prctl.h | 41 #define PR_GET_NAME 16 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | prctl.h | 41 #define PR_GET_NAME 16 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | prctl.h | 41 #define PR_GET_NAME 16 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | prctl.h | 41 #define PR_GET_NAME 16 macro
|
/third_party/musl/include/sys/ |
H A D | prctl.h | 41 #define PR_GET_NAME 16 macro
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | thread-posix.c | 197 if (prctl(PR_GET_NAME, t->name) >= 0) in pa_thread_get_name()
|
/third_party/rust/crates/rustix/src/thread/ |
H A D | prctl.rs | 52 // PR_GET_NAME/PR_SET_NAME 55 const PR_GET_NAME: c_int = 16; consts 60 /// - [`prctl(PR_GET_NAME,...)`] 62 /// [`prctl(PR_GET_NAME,...)`]: https://man7.org/linux/man-pages/man2/prctl.2.html 66 unsafe { prctl_2args(PR_GET_NAME, buffer.as_mut_ptr().cast())? }; in name()
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
H A D | mod.rs | 1066 pub const PR_GET_NAME: ::c_int = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 1210 pub const PR_GET_NAME: u32 = 16; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 2549 pub const PR_GET_NAME: ::c_int = 16; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1960 pub const PR_GET_NAME: ::c_int = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 1213 pub const PR_GET_NAME: u32 = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 1205 pub const PR_GET_NAME: u32 = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 1223 pub const PR_GET_NAME: u32 = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
H A D | general.rs | 1218 pub const PR_GET_NAME: u32 = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
H A D | general.rs | 1215 pub const PR_GET_NAME: u32 = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips/ |
H A D | general.rs | 1210 pub const PR_GET_NAME: u32 = 16; consts
|
/third_party/rust/crates/linux-raw-sys/src/arm/ |
H A D | general.rs | 1199 pub const PR_GET_NAME: u32 = 16; consts
|