Searched refs:Inode (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Virtualization/authfs/src/ |
D | fusefs.rs | 51 pub type Inode = u64; typedef 58 const ROOT_INODE: Inode = 1; 127 pub inode: Inode, 190 inode_table: RwLock<BTreeMap<Inode, InodeState>>, 237 ) -> Result<Inode> { in add_entry_at_root_dir() argument 247 dir_inode: Inode, in add_entry_at_ro_dir_by_path() argument 250 ) -> Result<Inode> { in add_entry_at_ro_dir_by_path() argument 319 fn handle_inode<F, R>(&self, inode: &Inode, handle_fn: F) -> io::Result<R> in handle_inode() argument 338 parent_inode: Inode, in create_new_entry_with_ref_count() argument 341 ) -> io::Result<Inode> in create_new_entry_with_ref_count() [all …]
|
/packages/modules/Virtualization/authfs/src/file/ |
D | dir.rs | 29 use crate::fusefs::{AuthFsDirEntry, Inode}; 34 inode: Inode, 80 inode: Inode, in create_file() argument 103 inode: Inode, in mkdir() argument 121 pub fn delete_file(&mut self, basename: &Path) -> io::Result<Inode> { in delete_file() argument 135 pub fn force_delete_directory(&mut self, basename: &Path) -> io::Result<Inode> { in force_delete_directory() argument 149 pub fn find_inode(&self, name: &Path) -> io::Result<Inode> { in find_inode() argument 170 fn force_delete_entry(&mut self, basename: &Path, expect_dir: bool) -> io::Result<Inode> { in force_delete_entry() argument 222 pub fn add_dir(&mut self, basename: &Path, inode: Inode) -> io::Result<()> { in add_dir() 228 pub fn add_file(&mut self, basename: &Path, inode: Inode) -> io::Result<()> { in add_file() [all …]
|
/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 29 pub type Inode = u64; typedef 31 const INVALID: Inode = 0; 32 const ROOT: Inode = 1; 77 pub inode: Inode, 132 pub fn get(&self, inode: Inode) -> Option<&InodeData> { in get() 139 fn get_mut(&mut self, inode: Inode) -> Option<&mut InodeData> { in get_mut() 146 fn put(&mut self, data: InodeData) -> Inode { in put() argument 147 let inode = self.table.len() as Inode; in put() 154 fn find(&self, parent: Inode, name: &CStr) -> Option<Inode> { in find() argument 164 fn add(&mut self, parent: Inode, name: CString, data: InodeData) -> Inode { in add() argument [all …]
|
D | main.rs | 40 use crate::inode::{DirectoryEntry, Inode, InodeData, InodeKind, InodeTable}; 186 fn find_inode(&self, inode: Inode) -> io::Result<&InodeData> { in find_inode() 193 fn stat_from(&self, inode: Inode) -> io::Result<libc::stat64> { in stat_from() 214 type Inode = Inode; typedef 223 fn lookup(&self, _ctx: Context, parent: Self::Inode, name: &CStr) -> io::Result<Entry> { in lookup() argument 242 inode: Self::Inode, in getattr() argument 252 inode: Self::Inode, in open() argument 301 inode: Self::Inode, in release() argument 327 _inode: Self::Inode, in read() argument 363 inode: Self::Inode, in opendir() argument [all …]
|