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 …]
652 let kstat: *mut PosixKstat = args[1] as *mut PosixKstat; in handle() localVariable653 let vaddr = VirtAddr::new(kstat as usize); in handle()657 Ok(_) => Self::fstat(fd, kstat), in handle()765 let kstat = args[1] as *mut PosixKstat; in handle() localVariable766 Self::lstat(path, kstat) in handle()772 let kstat = args[1] as *mut PosixKstat; in handle() localVariable773 Self::stat(path, kstat) in handle()793 let kstat = args[4] as *mut PosixStatx; in handle() localVariable795 Self::do_statx(fd, path, flags, mask, kstat) in handle()