Searched refs:kstat (Results 1 – 2 of 2) sorted by relevance
813 let mut kstat = PosixKstat::new(); in do_fstat() localVariable816 kstat.size = metadata.size as i64; in do_fstat()817 kstat.dev_id = metadata.dev_id as u64; in do_fstat()818 kstat.inode = metadata.inode_id.into() as u64; in do_fstat()819 kstat.blcok_size = metadata.blk_size as i64; in do_fstat()820 kstat.blocks = metadata.blocks as u64; in do_fstat()822 kstat.atime.tv_sec = metadata.atime.tv_sec; in do_fstat()823 kstat.atime.tv_nsec = metadata.atime.tv_nsec; in do_fstat()824 kstat.mtime.tv_sec = metadata.mtime.tv_sec; in do_fstat()825 kstat.mtime.tv_nsec = metadata.mtime.tv_nsec; in do_fstat()[all …]
671 let kstat = args[1] as *mut PosixKstat; in handle() localVariable672 let vaddr = VirtAddr::new(kstat as usize); in handle()676 Ok(_) => Self::fstat(fd, kstat), in handle()768 let kstat = args[1] as *mut PosixKstat; in handle() localVariable769 let vaddr = VirtAddr::new(kstat as usize); in handle()771 Ok(_) => Self::lstat(path, kstat), in handle()787 let kstat = args[1] as *mut PosixKstat; in handle() localVariable788 let vaddr = VirtAddr::new(kstat as usize); in handle()790 Ok(_) => Self::stat(path, kstat), in handle()