Searched refs:downcast_ref (Results 1 – 5 of 5) sorted by relevance
109 .downcast_ref::<LockedDevFSInode>() in register_device()123 .downcast_ref::<LockedDevFSInode>() in register_device()150 .downcast_ref::<LockedDevFSInode>() in unregister_device()163 .downcast_ref::<LockedDevFSInode>() in unregister_device()492 .downcast_ref::<LockedDevFSInode>()498 .downcast_ref::<DevFS>()
291 .downcast_ref::<LockedProcFSInode>() in register_pid()530 .downcast_ref::<LockedProcFSInode>() in link()672 .downcast_ref::<LockedProcFSInode>() in procfs_register_pid()675 let procfs: &ProcFS = fs.as_any_ref().downcast_ref::<ProcFS>().unwrap(); in procfs_register_pid()699 .downcast_ref::<LockedProcFSInode>() in procfs_unregister_pid()702 let procfs: &ProcFS = fs.as_any_ref().downcast_ref::<ProcFS>().unwrap(); in procfs_unregister_pid()
339 pub fn downcast_ref<T: IndexNode>(&self) -> Option<&T> { in downcast_ref() method340 return self.as_any_ref().downcast_ref::<T>(); in downcast_ref()
125 let proc: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()127 let dev: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
288 .downcast_ref::<LockedRamFSInode>() in link()