Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/event_poll/
Dsyscall.rs43 let mut timespec = None; in epoll_wait() localVariable
45 timespec = Some(TimeSpec::new(0, 0)); in epoll_wait()
52 timespec = Some(TimeSpec::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()
Dmod.rs389 timespec: Option<TimeSpec>, in do_epoll_wait()
418 if timespec.is_some() { in do_epoll_wait()
419 let timespec = timespec.unwrap(); in do_epoll_wait() localVariable
420 if !(timespec.tv_sec > 0 || timespec.tv_nsec > 0) { in do_epoll_wait()
474 if timespec.is_some() { in do_epoll_wait()
475 let timespec = timespec.unwrap(); in do_epoll_wait() localVariable
478 (timespec.tv_sec * 1000000 + timespec.tv_nsec / 1000) as u64, in do_epoll_wait()
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs741 let mut timespec = None; in handle() localVariable
749 timespec = Some(*reader.read_one_from_user::<TimeSpec>(0)?); in handle()
752 Self::do_futex(uaddr, operation, val, timespec, uaddr2, utime as u32, val3) in handle()
819 let timespec = args[3] as i32; in handle() localVariable
823 return Self::epoll_wait(epfd, epoll_event, max_events, timespec); in handle()
972 let timespec = args[1] as *mut TimeSpec; in handle() localVariable
973 Self::clock_gettime(clockid, timespec) in handle()
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.8.md463 - 实现了timespec转换成日期时间