Home
last modified time | relevance | path

Searched refs:kstat (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs1297 let mut kstat = PosixKstat::new(); in do_fstat() localVariable
1300 kstat.size = metadata.size; in do_fstat()
1301 kstat.dev_id = metadata.dev_id as u64; in do_fstat()
1302 kstat.inode = metadata.inode_id.into() as u64; in do_fstat()
1303 kstat.blcok_size = metadata.blk_size as i64; in do_fstat()
1304 kstat.blocks = metadata.blocks as u64; in do_fstat()
1306 kstat.atime.tv_sec = metadata.atime.tv_sec; in do_fstat()
1307 kstat.atime.tv_nsec = metadata.atime.tv_nsec; in do_fstat()
1308 kstat.mtime.tv_sec = metadata.mtime.tv_sec; in do_fstat()
1309 kstat.mtime.tv_nsec = metadata.mtime.tv_nsec; in do_fstat()
[all …]
/DragonOS/kernel/src/syscall/
H A Dmod.rs667 let kstat: *mut PosixKstat = args[1] as *mut PosixKstat; in handle() localVariable
668 let vaddr = VirtAddr::new(kstat as usize); in handle()
672 Ok(_) => Self::fstat(fd, kstat), in handle()
780 let kstat = args[1] as *mut PosixKstat; in handle() localVariable
781 Self::lstat(path, kstat) in handle()
787 let kstat = args[1] as *mut PosixKstat; in handle() localVariable
788 Self::stat(path, kstat) in handle()
808 let kstat = args[4] as *mut PosixStatx; in handle() localVariable
810 Self::do_statx(fd, path, flags, mask, kstat) in handle()