Home
last modified time | relevance | path

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

/DragonOS-0.1.7/docs/kernel/filesystem/vfs/
Ddesign.md27MountFS │ Maintain the mount tree and handle the mounting of file systems. │
53 ## 3. MountFS
56 所有的文件系统要挂载到文件系统树上,都需要通过MountFS来完成。也就是说,挂载树上的每个文件系统结构体的外面,都套了一层MountFS结构体。
58MountFS都是直接转发给具体的文件系统,而不做任何处理。同时,为了支持跨文件系统的操作,比如在目录树上查找,每次lookup操作或者是find操作,都会通过MountFSInode的对应方法,…
Dindex.rst10 - 提供文件系统的挂载和卸载机制(MountFS
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dmount.rs15 pub struct MountFS { struct
19 mountpoints: SpinLock<BTreeMap<InodeId, Arc<MountFS>>>, argument
23 self_ref: Weak<MountFS>, argument
32 mount_fs: Arc<MountFS>,
37 impl MountFS { impl
42 return MountFS { in new()
56 let mount_fs: Arc<MountFS> = Arc::new(self); in wrap()
58 let weak: Weak<MountFS> = Arc::downgrade(&mount_fs); in wrap()
61 let ptr: *mut MountFS = Arc::into_raw(mount_fs) as *mut Self; in wrap()
323 fn mount(&self, fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() argument
[all …]
Dcore.rs18 vfs::{file::File, mount::MountFS, FileSystem, FileType},
53 let mount_fs = MountFS::new(ramfs, None); in vfs_init()
116 fs: &MountFS, in do_migrate() argument
140 let proc: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
142 let dev: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
144 let sys: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
146 let new_fs = MountFS::new(new_fs, None); in migrate_virtual_filesystem()
Dmod.rs16 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS};
322 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() argument
/DragonOS-0.1.7/docs/kernel/filesystem/
Doverview.md18 - 挂载文件系统(MountFS
39MountFS
77 - 提供文件系统的挂载和卸载机制(MountFS
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/
DV0.1.5.md151 7. 新增:MountFS