Searched refs:times (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | open.rs | 249 times: Option<[PosixTimeSpec; 2]>, in do_utimensat() 278 if let Some([atime, mtime]) = times { 298 pub fn do_utimes(path: &str, times: Option<[PosixTimeval; 2]>) -> Result<usize, SystemError> { in do_utimes() 308 if let Some([atime, mtime]) = times {
|
H A D | syscall.rs | 1749 times: *const PosixTimeSpec, in sys_utimensat() 1761 let times = if times.is_null() { in sys_utimensat() localVariable 1764 let times_reader = UserBufferReader::new(times, size_of::<PosixTimeSpec>() * 2, true)?; in sys_utimensat() 1765 let times = times_reader.read_from_user::<PosixTimeSpec>(0)?; in sys_utimensat() localVariable 1766 Some([times[0], times[1]]) in sys_utimensat() 1768 do_utimensat(dirfd, pathname, times, flags) in sys_utimensat() 1773 times: *const PosixTimeval, in sys_utimes() 1778 let times = if times.is_null() { in sys_utimes() localVariable 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() localVariable [all …]
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 156 pub fn poll_ifaces_try_lock(times: u16) -> Result<(), SystemError> { in poll_ifaces_try_lock() 158 while i < times { in poll_ifaces_try_lock()
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 979 pub fn try_siginfo_irqsave(&self, times: u8) -> Option<RwLockReadGuard<ProcessSignalInfo>> { in try_siginfo_irqsave() 980 for _ in 0..times { in try_siginfo_irqsave() 993 pub fn try_siginfo_mut(&self, times: u8) -> Option<RwLockWriteGuard<ProcessSignalInfo>> { in try_siginfo_mut() 994 for _ in 0..times { in try_siginfo_mut() 1015 pub fn try_sig_struct_irqsave(&self, times: u8) -> Option<SpinLockGuard<SignalStruct>> { in try_sig_struct_irqsave() 1016 for _ in 0..times { in try_sig_struct_irqsave()
|