/third_party/ltp/testcases/kernel/syscalls/prctl/ |
H A D | prctl08.c | 10 * Test PR_GET_TIMERSLACK and PR_SET_TIMERSLACK of prctl(2). 66 TEST(prctl(PR_GET_TIMERSLACK)); in check_get_timerslack() 68 tst_res(TPASS, "%s prctl(PR_GET_TIMERSLACK) got %lu expectedly", in check_get_timerslack() 71 tst_res(TFAIL, "%s prctl(PR_GET_TIMERSLACK) expected %lu got %lu", in check_get_timerslack() 86 current_value = prctl(PR_GET_TIMERSLACK); in check_inherit_timerslack() 88 default_value = prctl(PR_GET_TIMERSLACK); in check_inherit_timerslack() 123 TEST(prctl(PR_GET_TIMERSLACK)); in setup()
|
/third_party/ltp/include/lapi/ |
H A D | prctl.h | 31 # define PR_GET_TIMERSLACK 30 macro
|
/third_party/ltp/lib/ |
H A D | tst_timer_test.c | 362 #ifdef PR_GET_TIMERSLACK in timer_setup() 363 ret = prctl(PR_GET_TIMERSLACK); in timer_setup() 365 tst_res(TINFO, "prctl(PR_GET_TIMERSLACK) = -1, using %uus", in timer_setup() 369 tst_res(TINFO, "prctl(PR_GET_TIMERSLACK) = %ius", timerslack); in timer_setup() 372 tst_res(TINFO, "PR_GET_TIMERSLACK not defined, using %uus", in timer_setup() 374 #endif /* PR_GET_TIMERSLACK */ in timer_setup()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | prctl.h | 58 #define PR_GET_TIMERSLACK 30 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | prctl.h | 58 #define PR_GET_TIMERSLACK 30 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | prctl.h | 58 #define PR_GET_TIMERSLACK 30 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | prctl.h | 58 #define PR_GET_TIMERSLACK 30 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | prctl.h | 58 #define PR_GET_TIMERSLACK 30 macro
|
/third_party/musl/include/sys/ |
H A D | prctl.h | 58 #define PR_GET_TIMERSLACK 30 macro
|
/third_party/rust/crates/rustix/src/thread/ |
H A D | prctl.rs | 468 // PR_GET_TIMERSLACK/PR_SET_TIMERSLACK 471 const PR_GET_TIMERSLACK: c_int = 30; consts 476 /// - [`prctl(PR_GET_TIMERSLACK,...)`] 478 /// [`prctl(PR_GET_TIMERSLACK,...)`]: https://man7.org/linux/man-pages/man2/prctl.2.html 481 unsafe { prctl_1arg(PR_GET_TIMERSLACK) }.map(|r| r as u64) in current_timer_slack()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-rtclock.c | 159 if ((slack_ns = prctl(PR_GET_TIMERSLACK, 0, 0, 0, 0)) < 0) { in pa_rtclock_hrtimer_enable() 160 pa_log_info("PR_GET_TIMERSLACK/PR_SET_TIMERSLACK not supported."); in pa_rtclock_hrtimer_enable()
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
H A D | mod.rs | 1089 pub const PR_GET_TIMERSLACK: ::c_int = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 1227 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 2572 pub const PR_GET_TIMERSLACK: ::c_int = 30; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1983 pub const PR_GET_TIMERSLACK: ::c_int = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 1230 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 1222 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 1240 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
H A D | general.rs | 1235 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
H A D | general.rs | 1232 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips/ |
H A D | general.rs | 1227 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/arm/ |
H A D | general.rs | 1216 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/sparc/ |
H A D | general.rs | 1440 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/s390x/ |
H A D | general.rs | 1225 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|
/third_party/rust/crates/linux-raw-sys/src/sparc64/ |
H A D | general.rs | 1448 pub const PR_GET_TIMERSLACK: u32 = 30; consts
|