Searched refs:nsec (Results 1 – 3 of 3) sorted by relevance
50 let nsec: i64 = 1000000 * (timeout as i64 % 1000); in epoll_wait() localVariable52 timespec = Some(PosixTimeSpec::new(sec, nsec)) in epoll_wait()
61 pub fn new(sec: i64, nsec: i64) -> PosixTimeSpec { in new()64 tv_nsec: nsec, in new()105 let nsec = self.tv_nsec.checked_sub(rhs.tv_nsec).unwrap_or(0); in sub() localVariable106 Duration::from_micros((sec * 1000000 + nsec / 1000) as u64) in sub()
275 let nsec = time.tv_nsec; in futex_wait() localVariable276 let jiffies = next_n_us_timer_jiffies((nsec / 1000 + sec * 1_000_000) as u64); in futex_wait()