Lines Matching refs:inode_table

190     inode_table: RwLock<BTreeMap<Inode, InodeState>>,  field
217 let mut inode_table = BTreeMap::new(); in new() localVariable
218 inode_table.insert( in new()
224 inode_table: RwLock::new(inode_table), in new()
259 let inode_table = self.inode_table.get_mut().unwrap(); in add_entry_at_ro_dir_by_path() localVariable
261 let current_dir_entry = &mut inode_table in add_entry_at_ro_dir_by_path()
281 if inode_table in add_entry_at_ro_dir_by_path()
295 let inode_table = self.inode_table.get_mut().unwrap(); in add_entry_at_ro_dir_by_path() localVariable
296 let inode_state = inode_table.get_mut(&parent_inode).expect("previously returned inode"); in add_entry_at_ro_dir_by_path()
305 if inode_table.insert(new_inode, InodeState::new(entry)).is_some() { in add_entry_at_ro_dir_by_path()
323 let inode_table = self.inode_table.read().unwrap(); in handle_inode() localVariable
324 handle_inode_locked(&inode_table, inode, |inode_state| handle_fn(&inode_state.entry)) in handle_inode()
345 let mut inode_table = self.inode_table.write().unwrap(); in create_new_entry_with_ref_count() localVariable
347 &mut inode_table, in create_new_entry_with_ref_count()
357 if let btree_map::Entry::Vacant(entry) = inode_table.entry(new_inode) { in create_new_entry_with_ref_count()
514 let inode_table = self.inode_table.read().unwrap(); in lookup() localVariable
518 handle_inode_locked(&inode_table, &parent, |inode_state| match &inode_state.entry { in lookup()
532 &inode_table, in lookup()
571 let mut inode_table = self.inode_table.write().unwrap(); in forget() localVariable
573 &mut inode_table, in forget()
591 let _ignored = inode_table.remove(&inode).expect("Removed an existing entry"); in forget()
771 let mut inode_table = self.inode_table.write().unwrap(); in setattr() localVariable
772 handle_inode_mut_locked(&mut inode_table, &inode, |InodeState { entry, .. }| match entry { in setattr()
887 let mut inode_table = self.inode_table.write().unwrap(); in unlink() localVariable
889 &mut inode_table, in unlink()
914 let mut inode_table = self.inode_table.write().unwrap(); in rmdir() localVariable
917 handle_inode_locked(&inode_table, &parent, |inode_state| match &inode_state.entry { in rmdir()
921 handle_inode_locked(&inode_table, &existing_inode, |inode_state| { in rmdir()
934 &mut inode_table, in rmdir()
1016 st.f_files = self.inode_table.read().unwrap().len() as u64; in statfs()
1023 inode_table: &BTreeMap<Inode, InodeState>, in handle_inode_locked()
1030 if let Some(inode_state) = inode_table.get(inode) { in handle_inode_locked()
1038 inode_table: &mut BTreeMap<Inode, InodeState>, in handle_inode_mut_locked()
1045 if let Some(inode_state) = inode_table.get_mut(inode) { in handle_inode_mut_locked()