Home
last modified time | relevance | path

Searched refs:MountFS (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmount.rs18 pub struct MountFS { struct
22 mountpoints: SpinLock<BTreeMap<InodeId, Arc<MountFS>>>, argument
26 self_ref: Weak<MountFS>, argument
35 mount_fs: Arc<MountFS>,
40 impl MountFS { impl
45 return MountFS { in new()
59 let mount_fs: Arc<MountFS> = Arc::new(self); in wrap()
61 let weak: Weak<MountFS> = Arc::downgrade(&mount_fs); in wrap()
64 let ptr: *mut MountFS = Arc::into_raw(mount_fs) as *mut Self; in wrap()
328 fn mount(&self, fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, i32> { in mount() argument
[all …]
Dcore.rs17 vfs::{file::File, mount::MountFS, FileSystem, FileType},
51 let mount_fs = MountFS::new(ramfs, None); in vfs_init()
101 fs: &MountFS, in do_migrate() argument
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()
129 let new_fs = MountFS::new(new_fs, None); in migrate_virtual_filesystem()
Dmod.rs18 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS};
324 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, i32> { in mount() argument
/DragonOS-0.1.5/docs/community/ChangeLog/V0.1.x/
DV0.1.5.md151 7. 新增:MountFS