Home
last modified time | relevance | path

Searched refs:PosixTimeval (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/time/
H A Dsyscall.rs21 pub struct PosixTimeval { struct
106 tv: *mut PosixTimeval, in gettimeofday() argument
114 UserBufferWriter::new::<PosixTimeval>(tv, core::mem::size_of::<PosixTimeval>(), true)?; in gettimeofday()
H A Dmod.rs8 use crate::time::syscall::PosixTimeval;
119 impl From<PosixTimeval> for PosixTimeSpec {
120 fn from(value: PosixTimeval) -> Self { in from()
H A Dtimekeeping.rs21 syscall::PosixTimeval,
342 pub fn do_gettimeofday() -> PosixTimeval { in do_gettimeofday()
344 return PosixTimeval { in do_gettimeofday()
/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs19 time::{syscall::PosixTimeval, PosixTimeSpec},
298 pub fn do_utimes(path: &str, times: Option<[PosixTimeval; 2]>) -> Result<usize, SystemError> { in do_utimes()
H A Dsyscall.rs21 time::{syscall::PosixTimeval, PosixTimeSpec},
1773 times: *const PosixTimeval, in sys_utimes() argument
1781 let times_reader = UserBufferReader::new(times, size_of::<PosixTimeval>() * 2, true)?; in sys_utimes()
1782 let times = times_reader.read_from_user::<PosixTimeval>(0)?; in sys_utimes()
/DragonOS/kernel/src/syscall/
H A Dmod.rs39 syscall::{PosixTimeZone, PosixTimeval},
581 let timeval = args[0] as *mut PosixTimeval; in handle()
1176 SYS_UTIMES => Self::sys_utimes(args[0] as *const u8, args[1] as *const PosixTimeval), in handle() constant