Home
last modified time | relevance | path

Searched refs:PR_GET_TIMERSLACK (Results 1 - 25 of 28) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl08.c10 * 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 Dprctl.h31 # define PR_GET_TIMERSLACK 30 macro
/third_party/ltp/lib/
H A Dtst_timer_test.c362 #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 Dprctl.h58 #define PR_GET_TIMERSLACK 30 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dprctl.h58 #define PR_GET_TIMERSLACK 30 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dprctl.h58 #define PR_GET_TIMERSLACK 30 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dprctl.h58 #define PR_GET_TIMERSLACK 30 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dprctl.h58 #define PR_GET_TIMERSLACK 30 macro
/third_party/musl/include/sys/
H A Dprctl.h58 #define PR_GET_TIMERSLACK 30 macro
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs468 // 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 Dcore-rtclock.c159 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 Dmod.rs1089 pub const PR_GET_TIMERSLACK: ::c_int = 30; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs1227 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2572 pub const PR_GET_TIMERSLACK: ::c_int = 30; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1983 pub const PR_GET_TIMERSLACK: ::c_int = 30; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs1230 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs1222 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs1240 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs1235 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs1232 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs1227 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs1216 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs1440 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs1225 pub const PR_GET_TIMERSLACK: u32 = 30; consts
/third_party/rust/crates/linux-raw-sys/src/sparc64/
H A Dgeneral.rs1448 pub const PR_GET_TIMERSLACK: u32 = 30; consts

Completed in 169 milliseconds

12