Lines Matching refs:dyn
220 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
231 fn as_any_ref(&self) -> &dyn core::any::Any { in as_any_ref()
285 let proc: Arc<dyn IndexNode> = self.root_inode(); in register_pid()
287 let _pf: Arc<dyn IndexNode> = proc.create(&pid.to_string(), FileType::Dir, 0o777)?; in register_pid()
290 let binding: Arc<dyn IndexNode> = _pf.create("status", FileType::File, 0o777)?; in register_pid()
307 let proc: Arc<dyn IndexNode> = self.root_inode(); in unregister_pid()
309 let pid_dir: Arc<dyn IndexNode> = proc.find(&format!("{}", pid))?; in unregister_pid()
434 fn fs(&self) -> Arc<dyn FileSystem> { in fs()
438 fn as_any_ref(&self) -> &dyn core::any::Any { in as_any_ref()
477 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data()
528 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link()
582 _target: &Arc<dyn IndexNode>, in move_()
588 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
696 let procfs_inode: Arc<dyn IndexNode> = ROOT_INODE().find("proc")?; in procfs_unregister_pid()
701 let fs: Arc<dyn FileSystem> = procfs_inode.fs(); in procfs_unregister_pid()