Lines Matching refs:dyn
218 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
229 fn as_any_ref(&self) -> &dyn core::any::Any { in as_any_ref()
283 let proc: Arc<dyn IndexNode> = self.root_inode(); in register_pid()
285 let _pf: Arc<dyn IndexNode> = proc.create(&pid.to_string(), FileType::Dir, 0o777)?; in register_pid()
288 let binding: Arc<dyn IndexNode> = _pf.create("status", FileType::File, 0o777)?; in register_pid()
305 let proc: Arc<dyn IndexNode> = self.root_inode(); in unregister_pid()
307 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>, i32> { in create_with_data()
528 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), i32> { in link()
582 _target: &Arc<dyn IndexNode>, in move_()
588 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { 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()