Searched refs:kstat (Results 1 – 2 of 2) sorted by relevance
1297 let mut kstat = PosixKstat::new(); in do_fstat() localVariable1300 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 …]
667 let kstat: *mut PosixKstat = args[1] as *mut PosixKstat; in handle() localVariable668 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() localVariable781 Self::lstat(path, kstat) in handle()787 let kstat = args[1] as *mut PosixKstat; in handle() localVariable788 Self::stat(path, kstat) in handle()808 let kstat = args[4] as *mut PosixStatx; in handle() localVariable810 Self::do_statx(fd, path, flags, mask, kstat) in handle()