Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dmod.rs109 .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>()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs291 .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.5/kernel/src/filesystem/vfs/
Dmod.rs339 pub fn downcast_ref<T: IndexNode>(&self) -> Option<&T> { in downcast_ref() method
340 return self.as_any_ref().downcast_ref::<T>(); in downcast_ref()
Dcore.rs125 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()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs288 .downcast_ref::<LockedRamFSInode>() in link()