Searched refs:kstat (Results 1 – 2 of 2) sorted by relevance
578 let mut kstat = PosixKstat::new(); in do_fstat() localVariable582 kstat.size = metadata.size as i64; in do_fstat()583 kstat.dev_id = metadata.dev_id as u64; in do_fstat()584 kstat.inode = metadata.inode_id as u64; in do_fstat()585 kstat.blcok_size = metadata.blk_size as i64; in do_fstat()586 kstat.blocks = metadata.blocks as u64; in do_fstat()588 kstat.atime.tv_sec = metadata.atime.tv_sec; in do_fstat()589 kstat.atime.tv_nsec = metadata.atime.tv_nsec; in do_fstat()590 kstat.mtime.tv_sec = metadata.mtime.tv_sec; in do_fstat()591 kstat.mtime.tv_nsec = metadata.mtime.tv_nsec; in do_fstat()[all …]
960 let kstat = args[1] as *mut PosixKstat; in handle() localVariable961 let vaddr = VirtAddr::new(kstat as usize); in handle()965 Ok(_) => Self::fstat(fd, kstat), in handle()