Lines Matching refs:IndexNode
24 use super::{file::FileMode, utils::rsplit_path, IndexNode, InodeId};
36 static mut __ROOT_INODE: *mut Arc<dyn IndexNode> = null_mut();
41 pub fn ROOT_INODE() -> Arc<dyn IndexNode> { in ROOT_INODE()
112 new_root_inode: Arc<dyn IndexNode>, in do_migrate() argument
155 let old_root_inode: Box<Arc<dyn IndexNode>> = Box::from_raw(__ROOT_INODE); in migrate_virtual_filesystem()
209 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_mkdir()
217 let parent_inode: Arc<dyn IndexNode> = in do_mkdir()
220 let _create_inode: Arc<dyn IndexNode> = in do_mkdir()
238 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_remove_dir()
250 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_remove_dir()
256 let target_inode: Arc<dyn IndexNode> = parent_inode.find(filename)?; in do_remove_dir()
274 let inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().lookup(path); in do_unlink_at()
290 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_unlink_at()