Home
last modified time | relevance | path

Searched refs:inode (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Virtualization/zipfuse/src/
Dinode.rs61 pub inode: Inode, field
120 pub fn get(&self, inode: Inode) -> Option<&InodeData> { in get()
121 match inode { in get()
123 _ => self.table.get(inode as usize), in get()
127 fn get_mut(&mut self, inode: Inode) -> Option<&mut InodeData> { in get_mut()
128 match inode { in get_mut()
130 _ => self.table.get_mut(inode as usize), in get_mut()
135 let inode = self.table.len() as Inode; in put() localVariable
137 inode in put()
145 Some(DirectoryEntry { inode, .. }) => Some(*inode), in find()
[all …]
Dmain.rs21 mod inode; module
38 use crate::inode::{DirectoryEntry, Inode, InodeData, InodeKind, InodeTable};
124 fn find_inode(&self, inode: Inode) -> io::Result<&InodeData> { in find_inode()
125 self.inode_table.get(inode).ok_or_else(ebadf) in find_inode()
131 fn stat_from(&self, inode: Inode) -> io::Result<libc::stat64> { in stat_from()
132 let inode_data = self.find_inode(inode)?; in stat_from()
140 st.st_ino = inode; in stat_from()
161 let inode = self.find_inode(parent)?; in lookup() localVariable
162 let directory = inode.get_directory().ok_or_else(ebadf)?; in lookup()
166 inode: e.inode, in lookup()
[all …]
/packages/modules/Virtualization/authfs/src/
Dfusefs.rs89 fn get_file_config(&self, inode: &Inode) -> io::Result<&FileConfig> { in get_file_config()
90 self.file_pool.get(&inode).ok_or_else(|| io::Error::from_raw_os_error(libc::ENOENT)) in get_file_config()
208 let inode = num.parse::<Inode>().map_err(|_| io::Error::from_raw_os_error(libc::ENOENT))?; in lookup() localVariable
209 let st = match self.get_file_config(&inode)? { in lookup()
214 create_stat(inode, *file_size, FileMode::ReadOnly)? in lookup()
217 create_stat(inode, editor.size(), FileMode::ReadWrite)? in lookup()
221 inode, in lookup()
232 inode: Inode, in getattr()
236 match self.get_file_config(&inode)? { in getattr()
241 create_stat(inode, *file_size, FileMode::ReadOnly)? in getattr()
[all …]
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java775 MtpProxyFileDescriptorCallback(int inode) { in MtpProxyFileDescriptorCallback() argument
776 mInode = inode; in MtpProxyFileDescriptorCallback()
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp274 inline node* FromInode(__u64 inode) { in FromInode()
275 if (inode == FUSE_ROOT_ID) { in FromInode()
279 return node::FromInode(inode, &tracker); in FromInode()