Home
last modified time | relevance | path

Searched refs:Itimerspec (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/rustix/src/backend/linux_raw/time/
Dsyscalls.rs19 use crate::time::{Itimerspec, TimerfdClockId, TimerfdFlags, TimerfdTimerFlags};
79 new_value: &Itimerspec, in timerfd_settime() argument
80 ) -> io::Result<Itimerspec> { in timerfd_settime() argument
81 let mut result = MaybeUninit::<Itimerspec>::uninit(); in timerfd_settime()
122 new_value: &Itimerspec, in timerfd_settime_old() argument
123 result: &mut MaybeUninit<Itimerspec>, in timerfd_settime_old() argument
165 Itimerspec { in timerfd_settime_old()
181 pub(crate) fn timerfd_gettime(fd: BorrowedFd<'_>) -> io::Result<Itimerspec> { in timerfd_gettime() argument
182 let mut result = MaybeUninit::<Itimerspec>::uninit(); in timerfd_gettime()
209 result: &mut MaybeUninit<Itimerspec>, in timerfd_gettime_old() argument
[all …]
Dtypes.rs19 pub type Itimerspec = linux_raw_sys::general::__kernel_itimerspec; typedef
/third_party/rust/crates/rustix/tests/time/
Dy2038.rs28 use rustix::time::Itimerspec; in test_y2038()
30 let _ = Itimerspec { in test_y2038()
41 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags, in test_y2038_with_timerfd()
47 let set = Itimerspec { in test_y2038_with_timerfd()
57 let _old: Itimerspec = match timerfd_settime(&fd, TimerfdTimerFlags::ABSTIME, &set) { in test_y2038_with_timerfd()
Dtimerfd.rs2 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags,
10 let set = Itimerspec { in test_timerfd()
20 let _old: Itimerspec = timerfd_settime(&fd, TimerfdTimerFlags::ABSTIME, &set).unwrap(); in test_timerfd()
44 let set = Itimerspec { in test_timerfd_with_interval()
54 let _old: Itimerspec = timerfd_settime(&fd, TimerfdTimerFlags::ABSTIME, &set).unwrap(); in test_timerfd_with_interval()
/third_party/rust/crates/rustix/src/time/
Dtimerfd.rs4 pub use backend::time::types::{Itimerspec, TimerfdClockId, TimerfdFlags, TimerfdTimerFlags};
27 new_value: &Itimerspec, in timerfd_settime() argument
28 ) -> io::Result<Itimerspec> { in timerfd_settime() argument
39 pub fn timerfd_gettime<Fd: AsFd>(fd: Fd) -> io::Result<Itimerspec> { in timerfd_gettime() argument
Dmod.rs18 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags,
/third_party/rust/crates/rustix/src/backend/libc/time/
Dsyscalls.rs19 crate::time::{Itimerspec, TimerfdClockId, TimerfdFlags, TimerfdTimerFlags},
246 new_value: &Itimerspec, in timerfd_settime() argument
247 ) -> io::Result<Itimerspec> { in timerfd_settime() argument
292 new_value: &Itimerspec, in timerfd_settime_old() argument
293 ) -> io::Result<Itimerspec> { in timerfd_settime_old() argument
334 Ok(Itimerspec { in timerfd_settime_old()
356 pub(crate) fn timerfd_gettime(fd: BorrowedFd<'_>) -> io::Result<Itimerspec> { in timerfd_gettime() argument
388 unsafe fn timerfd_gettime_old(fd: BorrowedFd<'_>) -> io::Result<Itimerspec> { in timerfd_gettime_old() argument
396 Ok(Itimerspec { in timerfd_gettime_old()
Dtypes.rs226 pub type Itimerspec = c::itimerspec; typedef
237 pub struct Itimerspec { struct
248 pub(crate) type LibcItimerspec = Itimerspec;
269 impl From<LibcItimerspec> for Itimerspec { implementation
284 impl From<Itimerspec> for LibcItimerspec {
286 fn from(t: Itimerspec) -> Self { in from()