Searched refs:inode_data (Results 1 – 2 of 2) sorted by relevance
275 let inode_data = it.get(inode); in check_dir() localVariable276 assert!(inode_data.is_some()); in check_dir()277 let inode_data = inode_data.unwrap(); in check_dir() localVariable278 assert_eq!(0, inode_data.size); in check_dir()279 assert!(inode_data.is_dir()); in check_dir()288 let inode_data = it.get(inode); in check_file() localVariable289 assert!(inode_data.is_some()); in check_file()290 let inode_data = inode_data.unwrap(); in check_file() localVariable291 assert!(!inode_data.is_dir()); in check_file()292 inode_data in check_file()[all …]
194 let inode_data = self.find_inode(inode)?; in stat_from() localVariable198 st.st_nlink = if let Some(directory) = inode_data.get_directory() { in stat_from()204 st.st_mode = if inode_data.is_dir() { libc::S_IFDIR } else { libc::S_IFREG }; in stat_from()205 st.st_mode |= inode_data.mode; in stat_from()208 st.st_size = i64::try_from(inode_data.size).unwrap_or(i64::MAX); in stat_from()267 let inode_data = self.find_inode(inode)?; in open() localVariable268 let zip_index = inode_data.get_zip_index().ok_or_else(ebadf)?; in open()286 let mut buf = Vec::with_capacity(inode_data.size as usize); in open()374 let inode_data = self.find_inode(inode)?; in opendir() localVariable375 let directory = inode_data.get_directory().ok_or_else(ebadf)?; in opendir()