Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/net/event_poll/
H A Dsyscall.rs43 let mut timespec = None; in epoll_wait() localVariable
45 timespec = Some(PosixTimeSpec::new(0, 0)); in epoll_wait()
52 timespec = Some(PosixTimeSpec::new(sec, nsec)) in epoll_wait()
63 return EventPoll::do_epoll_wait(epfd, epoll_events, max_events, timespec); in epoll_wait()
95 timespec: i32, in epoll_pwait()
101 let wait_ret = Self::epoll_wait(epfd, epoll_event, max_events, timespec); in epoll_pwait()
H A Dmod.rs402 timespec: Option<PosixTimeSpec>, in do_epoll_wait()
430 if let Some(timespec) = timespec { in do_epoll_wait()
431 if !(timespec.tv_sec > 0 || timespec.tv_nsec > 0) { in do_epoll_wait()
486 if let Some(timespec) = timespec { in do_epoll_wait()
489 (timespec.tv_sec * 1000000 + timespec.tv_nsec / 1000) as u64, in do_epoll_wait()
/DragonOS/kernel/src/time/
H A Dsyscall.rs151 let timespec = getnstimeofday(); in clock_gettime() localVariable
153 tp_buf.copy_one_to_user(&timespec, 0)?; in clock_gettime()
/DragonOS/kernel/src/syscall/
H A Dmod.rs723 let mut timespec = None; in handle() localVariable
731 timespec = Some(*reader.read_one_from_user::<PosixTimeSpec>(0)?); in handle()
734 Self::do_futex(uaddr, operation, val, timespec, uaddr2, utime as u32, val3) in handle()
821 let timespec = args[3] as i32; in handle() localVariable
825 return Self::epoll_wait(epfd, epoll_event, max_events, timespec); in handle()
984 let timespec = args[1] as *mut PosixTimeSpec; in handle() localVariable
985 Self::clock_gettime(clockid, timespec) in handle()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.8.md463 - 实现了timespec转换成日期时间