Home
last modified time | relevance | path

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

/packages/modules/Virtualization/zipfuse/src/
Dinode.rs25 table: Vec<InodeData>,
36 pub struct InodeData { struct
71 impl InodeData { impl
93 fn new_dir(mode: u32) -> InodeData { in new_dir() argument
94 InodeData { mode, size: 0, data: InodeDataData::Directory(HashMap::new()) } in new_dir()
97 fn new_file(zip_index: ZipIndex, zip_file: &zip::read::ZipFile) -> InodeData { in new_file() argument
98 InodeData { in new_file()
120 pub fn get(&self, inode: Inode) -> Option<&InodeData> { in get() argument
127 fn get_mut(&mut self, inode: Inode) -> Option<&mut InodeData> { in get_mut() argument
134 fn put(&mut self, data: InodeData) -> Inode { in put()
[all …]
Dmain.rs38 use crate::inode::{DirectoryEntry, Inode, InodeData, InodeKind, InodeTable};
124 fn find_inode(&self, inode: Inode) -> io::Result<&InodeData> { in find_inode() argument