Searched refs:downcast_ref (Results 1 – 9 of 9) sorted by relevance
14 .downcast_ref::<LockedSysFSInode>() in sys_class_register()29 .downcast_ref::<LockedSysFSInode>() in sys_class_unregister()47 .downcast_ref::<LockedSysFSInode>() in class_device_register()65 .downcast_ref::<LockedSysFSInode>() in class_device_unregister()
15 .downcast_ref::<LockedSysFSInode>() in sys_bus_register()29 .downcast_ref::<LockedSysFSInode>() in sys_bus_unregister()41 match inode.as_any_ref().downcast_ref::<LockedSysFSInode>() { in sys_bus_init()62 .downcast_ref::<LockedSysFSInode>() in bus_driver_register()81 .downcast_ref::<LockedSysFSInode>() in bus_device_register()
14 .downcast_ref::<LockedSysFSInode>() in sys_device_register()29 .downcast_ref::<LockedSysFSInode>() in sys_device_unregister()
14 .downcast_ref::<LockedSysFSInode>() in fs_register()29 .downcast_ref::<LockedSysFSInode>() in fs_unregister()
115 .downcast_ref::<LockedDevFSInode>() in register_device()134 .downcast_ref::<LockedDevFSInode>() in register_device()165 .downcast_ref::<LockedDevFSInode>() in unregister_device()178 .downcast_ref::<LockedDevFSInode>() in unregister_device()513 .downcast_ref::<LockedDevFSInode>()519 .downcast_ref::<DevFS>()
138 let proc: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()140 let dev: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()142 let sys: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
352 pub fn downcast_ref<T: IndexNode>(&self) -> Option<&T> { in downcast_ref() method353 return self.as_any_ref().downcast_ref::<T>(); in downcast_ref()
293 .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()
284 .downcast_ref::<LockedRamFSInode>() in link()