Home
last modified time | relevance | path

Searched refs:atime (Results 1 – 17 of 17) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs278 if let Some([atime, mtime]) = times {
279 if atime.tv_nsec == UTIME_NOW {
280 meta.atime = now;
281 } else if atime.tv_nsec != UTIME_OMIT {
282 meta.atime = atime;
291 meta.atime = now;
308 if let Some([atime, mtime]) = times {
309 meta.atime = PosixTimeSpec::from(atime);
314 meta.atime = now;
H A Dmod.rs742 pub atime: PosixTimeSpec, field
777 atime: PosixTimeSpec::default(), in default()
913 atime: PosixTimeSpec::default(), in new()
H A Dsyscall.rs116 atime: PosixTimeSpec, field
135 atime: PosixTimeSpec { in new()
1306 kstat.atime.tv_sec = metadata.atime.tv_sec; in do_fstat()
1307 kstat.atime.tv_nsec = metadata.atime.tv_nsec; in do_fstat()
1445 tmp.stx_atime.tv_sec = metadata.atime.tv_sec; in do_statx()
1446 tmp.stx_atime.tv_nsec = metadata.atime.tv_nsec; in do_statx()
/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs45 atime: PosixTimeSpec::default(), in new()
101 inode.metadata.atime = metadata.atime; in set_metadata()
H A Dzero_dev.rs45 atime: PosixTimeSpec::default(), in new()
101 inode.metadata.atime = metadata.atime; in set_metadata()
H A Dmod.rs279 atime: PosixTimeSpec::default(), in new_with_parent()
370 atime: PosixTimeSpec::default(), in do_create_with_data()
526 inode.metadata.atime = metadata.atime; in set_metadata()
/DragonOS/kernel/src/virt/kvm/
H A Dkvm_dev.rs63 atime: PosixTimeSpec::default(), in new()
120 inode.metadata.atime = metadata.atime; in set_metadata()
H A Dvcpu_dev.rs74 atime: PosixTimeSpec::default(), in new()
128 inode.metadata.atime = metadata.atime; in set_metadata()
H A Dvm_dev.rs72 atime: PosixTimeSpec::default(), in new()
126 inode.metadata.atime = metadata.atime; in set_metadata()
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs86 atime: PosixTimeSpec::default(), in new()
155 inode.metadata.atime = metadata.atime; in set_metadata()
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs86 atime: PosixTimeSpec::default(), in new()
281 inode.metadata.atime = metadata.atime; in set_metadata()
332 atime: PosixTimeSpec::default(), in create_with_data()
594 atime: PosixTimeSpec::default(), in mknod()
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs336 atime: PosixTimeSpec::default(), in new()
572 inode.metadata.atime = metadata.atime; in set_metadata()
624 atime: PosixTimeSpec::default(), in create_with_data()
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs109 atime: PosixTimeSpec::default(), in new()
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs94 atime: PosixTimeSpec::new(0, 0), in create_root_inode()
525 atime: PosixTimeSpec::new(0, 0), in inner_create()
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs215 atime: PosixTimeSpec::default(), in new()
365 atime: PosixTimeSpec::default(), in new()
1490 inode.metadata.atime = metadata.atime; in set_metadata()
/DragonOS/kernel/src/ipc/
H A Dpipe.rs142 atime: PosixTimeSpec::default(), in new()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs198 atime: PosixTimeSpec::default(), in new()