Home
last modified time | relevance | path

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

/packages/modules/Virtualization/zipfuse/src/
Dinode.rs252 let inode_data = it.get(inode); in check_dir() localVariable
253 assert!(inode_data.is_some()); in check_dir()
254 let inode_data = inode_data.unwrap(); in check_dir() localVariable
255 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() localVariable
266 assert!(inode_data.is_some()); in check_file()
267 let inode_data = inode_data.unwrap(); in check_file() localVariable
268 assert!(!inode_data.is_dir()); in check_file()
269 inode_data in check_file()
[all …]
Dmain.rs132 let inode_data = self.find_inode(inode)?; in stat_from() localVariable
135 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() localVariable
207 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() localVariable
282 let directory = inode_data.get_directory().ok_or_else(ebadf)?; in opendir()