Home
last modified time | relevance | path

Searched refs:downcast_ref (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dclass.rs14 .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()
Dbus.rs15 .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()
Ddevices.rs14 .downcast_ref::<LockedSysFSInode>() in sys_device_register()
29 .downcast_ref::<LockedSysFSInode>() in sys_device_unregister()
Dfs.rs14 .downcast_ref::<LockedSysFSInode>() in fs_register()
29 .downcast_ref::<LockedSysFSInode>() in fs_unregister()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs115 .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>()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs138 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()
Dmod.rs352 pub fn downcast_ref<T: IndexNode>(&self) -> Option<&T> { in downcast_ref() method
353 return self.as_any_ref().downcast_ref::<T>(); in downcast_ref()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs293 .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()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs284 .downcast_ref::<LockedRamFSInode>() in link()