Home
last modified time | relevance | path

Searched refs:Inode (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Virtualization/zipfuse/src/
Dinode.rs29 pub type Inode = u64; typedef
31 const INVALID: Inode = 0;
32 const ROOT: Inode = 1;
61 pub inode: Inode,
120 pub fn get(&self, inode: Inode) -> Option<&InodeData> { in get()
127 fn get_mut(&mut self, inode: Inode) -> Option<&mut InodeData> { in get_mut()
134 fn put(&mut self, data: InodeData) -> Inode { in put() argument
135 let inode = self.table.len() as Inode; in put()
142 fn find(&self, parent: Inode, name: &CStr) -> Option<Inode> { in find() argument
152 fn add(&mut self, parent: Inode, name: CString, data: InodeData) -> Inode { in add() argument
[all …]
Dmain.rs38 use crate::inode::{DirectoryEntry, Inode, InodeData, InodeKind, InodeTable};
124 fn find_inode(&self, inode: Inode) -> io::Result<&InodeData> { in find_inode()
131 fn stat_from(&self, inode: Inode) -> io::Result<libc::stat64> { in stat_from()
151 type Inode = Inode; typedef
160 fn lookup(&self, _ctx: Context, parent: Self::Inode, name: &CStr) -> io::Result<Entry> { in lookup() argument
179 inode: Self::Inode, in getattr() argument
189 inode: Self::Inode, in open() argument
222 inode: Self::Inode, in release() argument
247 _inode: Self::Inode, in read() argument
270 inode: Self::Inode, in opendir() argument
[all …]
/packages/modules/Virtualization/authfs/src/
Dmain.rs48 use fusefs::{FileConfig, Inode};
92 ino: Inode,
107 ino: Inode,
117 ino: Inode,
124 ino: Inode,
141 ino: Inode,
153 ino: strs[0].parse::<Inode>()?, in parse_remote_ro_file_option()
166 ino: strs[0].parse::<Inode>()?, in parse_remote_ro_file_unverified_option()
178 ino: strs[0].parse::<Inode>().unwrap(), in parse_remote_new_rw_file_option()
189 ino: strs[0].parse::<Inode>()?, in parse_local_file_ro_option()
[all …]
Dfusefs.rs45 pub type Inode = u64; typedef
77 file_pool: BTreeMap<Inode, FileConfig>,
85 pub fn new(file_pool: BTreeMap<Inode, FileConfig>, max_write: u32) -> AuthFs { in new() argument
89 fn get_file_config(&self, inode: &Inode) -> io::Result<&FileConfig> { in get_file_config()
187 type Inode = Inode; typedef
201 fn lookup(&self, _ctx: Context, _parent: Inode, name: &CStr) -> io::Result<Entry> { in lookup() argument
208 let inode = num.parse::<Inode>().map_err(|_| io::Error::from_raw_os_error(libc::ENOENT))?; in lookup()
232 inode: Inode, in getattr() argument
254 inode: Self::Inode, in open() argument
279 inode: Inode, in read() argument
[all …]