Home
last modified time | relevance | path

Searched refs:inode_data (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/guest/zipfuse/src/
Dinode.rs275 let inode_data = it.get(inode); in check_dir() localVariable
276 assert!(inode_data.is_some()); in check_dir()
277 let inode_data = inode_data.unwrap(); in check_dir() localVariable
278 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() localVariable
289 assert!(inode_data.is_some()); in check_file()
290 let inode_data = inode_data.unwrap(); in check_file() localVariable
291 assert!(!inode_data.is_dir()); in check_file()
292 inode_data in check_file()
[all …]
Dmain.rs194 let inode_data = self.find_inode(inode)?; in stat_from() localVariable
198 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() localVariable
268 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() localVariable
375 let directory = inode_data.get_directory().ok_or_else(ebadf)?; in opendir()