Home
last modified time | relevance | path

Searched refs:PR_GET_NAME (Results 1 - 25 of 31) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dprctl.c32 result = prctl(PR_GET_NAME, (unsigned long)buf); in prctl_0100()
/third_party/ltp/include/lapi/
H A Dprctl.h14 # define PR_GET_NAME 16 macro
/third_party/musl/src/thread/
H A Dpthread_getname_np.c16 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 Dlinux_prctl_test.cpp26 int getResult = prctl(PR_GET_NAME, static_cast<void*>(buffer)); in HWTEST_F()
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl05.c10 * 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 Dutil.c271 #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 Dprctl.h41 #define PR_GET_NAME 16 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dprctl.h41 #define PR_GET_NAME 16 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dprctl.h41 #define PR_GET_NAME 16 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dprctl.h41 #define PR_GET_NAME 16 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dprctl.h41 #define PR_GET_NAME 16 macro
/third_party/musl/include/sys/
H A Dprctl.h41 #define PR_GET_NAME 16 macro
/third_party/pulseaudio/src/pulsecore/
H A Dthread-posix.c197 if (prctl(PR_GET_NAME, t->name) >= 0) in pa_thread_get_name()
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs52 // 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 Dmod.rs1066 pub const PR_GET_NAME: ::c_int = 16; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs1210 pub const PR_GET_NAME: u32 = 16; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2549 pub const PR_GET_NAME: ::c_int = 16; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1960 pub const PR_GET_NAME: ::c_int = 16; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs1213 pub const PR_GET_NAME: u32 = 16; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs1205 pub const PR_GET_NAME: u32 = 16; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs1223 pub const PR_GET_NAME: u32 = 16; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs1218 pub const PR_GET_NAME: u32 = 16; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs1215 pub const PR_GET_NAME: u32 = 16; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs1210 pub const PR_GET_NAME: u32 = 16; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs1199 pub const PR_GET_NAME: u32 = 16; consts

Completed in 129 milliseconds

12