/DragonOS/kernel/src/filesystem/vfs/ |
H A D | open.rs | 278 if let Some([atime, mtime]) = times { 284 if mtime.tv_nsec == UTIME_NOW { 285 meta.mtime = now; 286 } else if mtime.tv_nsec != UTIME_OMIT { 287 meta.mtime = mtime; 292 meta.mtime = now; 308 if let Some([atime, mtime]) = times { 310 meta.mtime = PosixTimeSpec::from(mtime); 315 meta.mtime = now;
|
H A D | mod.rs | 745 pub mtime: PosixTimeSpec, field 778 mtime: PosixTimeSpec::default(), in default() 914 mtime: PosixTimeSpec::default(), in new()
|
H A D | syscall.rs | 118 mtime: PosixTimeSpec, field 139 mtime: PosixTimeSpec { in new() 1308 kstat.mtime.tv_sec = metadata.mtime.tv_sec; in do_fstat() 1309 kstat.mtime.tv_nsec = metadata.mtime.tv_nsec; in do_fstat() 1454 tmp.stx_ctime.tv_sec = metadata.mtime.tv_sec; in do_statx() 1455 tmp.stx_ctime.tv_nsec = metadata.mtime.tv_nsec; in do_statx()
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | null_dev.rs | 46 mtime: PosixTimeSpec::default(), in new() 102 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
H A D | zero_dev.rs | 46 mtime: PosixTimeSpec::default(), in new() 102 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
H A D | mod.rs | 280 mtime: PosixTimeSpec::default(), in new_with_parent() 371 mtime: PosixTimeSpec::default(), in do_create_with_data() 527 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | kvm_dev.rs | 64 mtime: PosixTimeSpec::default(), in new() 121 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
H A D | vcpu_dev.rs | 75 mtime: PosixTimeSpec::default(), in new() 129 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
H A D | vm_dev.rs | 73 mtime: PosixTimeSpec::default(), in new() 127 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
/DragonOS/kernel/src/driver/keyboard/ |
H A D | ps2_keyboard.rs | 87 mtime: PosixTimeSpec::default(), in new() 156 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 87 mtime: PosixTimeSpec::default(), in new() 282 inode.metadata.mtime = metadata.mtime; in set_metadata() 333 mtime: PosixTimeSpec::default(), in create_with_data() 595 mtime: PosixTimeSpec::default(), in mknod()
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | mod.rs | 337 mtime: PosixTimeSpec::default(), in new() 573 inode.metadata.mtime = metadata.mtime; in set_metadata() 625 mtime: PosixTimeSpec::default(), in create_with_data()
|
/DragonOS/kernel/src/filesystem/devpts/ |
H A D | mod.rs | 110 mtime: PosixTimeSpec::default(), in new()
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 95 mtime: PosixTimeSpec::new(0, 0), in create_root_inode() 526 mtime: PosixTimeSpec::new(0, 0), in inner_create()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 216 mtime: PosixTimeSpec::default(), in new() 366 mtime: PosixTimeSpec::default(), in new() 1491 inode.metadata.mtime = metadata.mtime; in set_metadata()
|
/DragonOS/kernel/src/ipc/ |
H A D | pipe.rs | 143 mtime: PosixTimeSpec::default(), in new()
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_device.rs | 199 mtime: PosixTimeSpec::default(), in new()
|