Home
last modified time | relevance | path

Searched refs:PR_SET_NAME (Results 1 - 25 of 35) sorted by relevance

12

/third_party/ltp/include/lapi/
H A Dprctl.h12 #ifndef PR_SET_NAME
13 # define PR_SET_NAME 15 macro
/third_party/pulseaudio/src/pulsecore/
H A Dthread-posix.c71 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 Dprctl.c29 int result = prctl(PR_SET_NAME, (unsigned long)"TestThread"); in prctl_0100()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dprctl.c42 if (option != PR_SET_NAME) { in prctl()
/third_party/musl/src/thread/
H A Dpthread_setname_np.c18 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 Dlinux_prctl_test.cpp22 int setResult = prctl(PR_SET_NAME, static_cast<const void*>(threadName)); 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).
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 Dprctl02.c95 {PR_SET_NAME, &bad_addr, &num_0, EFAULT, "PR_SET_NAME"},
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dprctl.h40 #define PR_SET_NAME 15 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dprctl.h40 #define PR_SET_NAME 15 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dprctl.h40 #define PR_SET_NAME 15 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dprctl.h40 #define PR_SET_NAME 15 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dprctl.h40 #define PR_SET_NAME 15 macro
/third_party/musl/include/sys/
H A Dprctl.h40 #define PR_SET_NAME 15 macro
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs52 // 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 Dlinux-core.c736 #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 Dplatform-posix.cc1038 #elif defined(PR_SET_NAME) in SetThreadName()
1039 prctl(PR_SET_NAME, in SetThreadName()
/third_party/libuv/src/unix/
H A Dlinux.c2084 #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 Dmod.rs1065 pub const PR_SET_NAME: ::c_int = 15; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs1209 pub const PR_SET_NAME: u32 = 15; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2548 pub const PR_SET_NAME: ::c_int = 15; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1959 pub const PR_SET_NAME: ::c_int = 15; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs1212 pub const PR_SET_NAME: u32 = 15; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs1204 pub const PR_SET_NAME: u32 = 15; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs1222 pub const PR_SET_NAME: u32 = 15; consts

Completed in 105 milliseconds

12