Searched refs:inode_data (Results 1 – 2 of 2) sorted by relevance
252 let inode_data = it.get(inode); in check_dir() localVariable253 assert!(inode_data.is_some()); in check_dir()254 let inode_data = inode_data.unwrap(); in check_dir() localVariable255 assert_eq!(0, inode_data.size); in check_dir()256 assert!(inode_data.is_dir()); in check_dir()265 let inode_data = it.get(inode); in check_file() localVariable266 assert!(inode_data.is_some()); in check_file()267 let inode_data = inode_data.unwrap(); in check_file() localVariable268 assert!(!inode_data.is_dir()); in check_file()269 inode_data in check_file()[all …]
132 let inode_data = self.find_inode(inode)?; in stat_from() localVariable135 st.st_nlink = if let Some(directory) = inode_data.get_directory() { in stat_from()141 st.st_mode = if inode_data.is_dir() { libc::S_IFDIR } else { libc::S_IFREG }; in stat_from()142 st.st_mode |= inode_data.mode; in stat_from()145 st.st_size = i64::try_from(inode_data.size).unwrap_or(i64::MAX); in stat_from()206 let inode_data = self.find_inode(inode)?; in open() localVariable207 let zip_index = inode_data.get_zip_index().ok_or_else(ebadf)?; in open()210 let mut buf = Vec::with_capacity(inode_data.size as usize); in open()281 let inode_data = self.find_inode(inode)?; in opendir() localVariable282 let directory = inode_data.get_directory().ok_or_else(ebadf)?; in opendir()