Searched refs:MountFS (Results 1 – 8 of 8) sorted by relevance
/DragonOS/docs/kernel/filesystem/vfs/ |
H A D | design.md | 27 … MountFS │ Maintain the mount tree and handle the mounting of file systems. │ 53 ## 3. MountFS 56 所有的文件系统要挂载到文件系统树上,都需要通过MountFS来完成。也就是说,挂载树上的每个文件系统结构体的外面,都套了一层MountFS结构体。 58 …MountFS都是直接转发给具体的文件系统,而不做任何处理。同时,为了支持跨文件系统的操作,比如在目录树上查找,每次lookup操作或者是find操作,都会通过MountFSInode的对应方法,…
|
H A D | index.rst | 10 - 提供文件系统的挂载和卸载机制(MountFS)
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mount.rs | 37 pub struct MountFS { struct 41 mountpoints: SpinLock<BTreeMap<InodeId, Arc<MountFS>>>, argument 45 self_ref: Weak<MountFS>, argument 55 mount_fs: Arc<MountFS>, 60 impl MountFS { impl 65 return Arc::new_cyclic(|self_ref| MountFS { in new() 80 let mount_fs: Arc<MountFS> = Arc::new(self); in wrap() 82 let weak: Weak<MountFS> = Arc::downgrade(&mount_fs); in wrap() 85 let ptr: *mut MountFS = mount_fs.as_ref() as *const Self as *mut Self; in wrap() 113 pub fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount() argument [all …]
|
H A D | core.rs | 15 vfs::{mount::MountFS, syscall::ModeType, AtomicInodeId, FileSystem, FileType}, 58 let mount_fs = MountFS::new(ramfs, None); in vfs_init() 83 let new_fs = MountFS::new(new_fs, None); in migrate_virtual_filesystem() 259 pub fn do_mount(fs: Arc<dyn FileSystem>, mount_point: &str) -> Result<Arc<MountFS>, SystemError> { in do_mount() argument 292 ) -> Result<Arc<MountFS>, SystemError> { in do_mount_mkdir() argument 328 ) -> Result<Arc<MountFS>, SystemError> { in do_umount2() argument 331 let do_umount = || -> Result<Arc<MountFS>, SystemError> { in do_umount2()
|
H A D | mod.rs | 33 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS}; 401 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() argument 426 fn mount_from(&self, _des: Arc<dyn IndexNode>) -> Result<Arc<MountFS>, SystemError> { in mount_from() argument 450 fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount() argument
|
/DragonOS/docs/kernel/filesystem/ |
H A D | overview.md | 18 - 挂载文件系统(MountFS) 39 │ MountFS │ 77 - 提供文件系统的挂载和卸载机制(MountFS)
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 14 file::FileMode, syscall::ModeType, FilePrivateData, FileType, MountFS, ROOT_INODE, 259 .downcast_ref::<MountFS>() in ptmx_open()
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.5.md | 151 7. 新增:MountFS
|