Home
last modified time | relevance | path

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

/DragonOS/docs/kernel/filesystem/vfs/
H A Ddesign.md27MountFS │ Maintain the mount tree and handle the mounting of file systems. │
53 ## 3. MountFS
56 所有的文件系统要挂载到文件系统树上,都需要通过MountFS来完成。也就是说,挂载树上的每个文件系统结构体的外面,都套了一层MountFS结构体。
58MountFS都是直接转发给具体的文件系统,而不做任何处理。同时,为了支持跨文件系统的操作,比如在目录树上查找,每次lookup操作或者是find操作,都会通过MountFSInode的对应方法,…
H A Dindex.rst10 - 提供文件系统的挂载和卸载机制(MountFS
/DragonOS/kernel/src/filesystem/vfs/
H A Dmount.rs38 pub struct MountFS { struct
42 mountpoints: SpinLock<BTreeMap<InodeId, Arc<MountFS>>>, argument
46 self_ref: Weak<MountFS>, argument
56 mount_fs: Arc<MountFS>,
61 impl MountFS { implementation
66 return Arc::new_cyclic(|self_ref| MountFS { in new()
81 let mount_fs: Arc<MountFS> = Arc::new(self); in wrap()
83 let weak: Weak<MountFS> = Arc::downgrade(&mount_fs); in wrap()
86 let ptr: *mut MountFS = mount_fs.as_ref() as *const Self as *mut Self; in wrap()
114 pub fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount() argument
[all …]
H A Dcore.rs16 mount::MountFS, syscall::ModeType, AtomicInodeId, FileSystem, FileType, MAX_PATHLEN,
63 let mount_fs = MountFS::new(ramfs, None); in vfs_init()
88 let new_fs = MountFS::new(new_fs, None); in migrate_virtual_filesystem()
313 pub fn do_mount(fs: Arc<dyn FileSystem>, mount_point: &str) -> Result<Arc<MountFS>, SystemError> { in do_mount() argument
346 ) -> Result<Arc<MountFS>, SystemError> { in do_mount_mkdir() argument
382 ) -> Result<Arc<MountFS>, SystemError> { in do_umount2() argument
385 let do_umount = || -> Result<Arc<MountFS>, SystemError> { in do_umount2()
H A Dmod.rs33 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS};
404 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() argument
429 fn mount_from(&self, _des: Arc<dyn IndexNode>) -> Result<Arc<MountFS>, SystemError> { in mount_from() argument
453 fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount() argument
/DragonOS/docs/kernel/filesystem/
H A Doverview.md18 - 挂载文件系统(MountFS
39MountFS
77 - 提供文件系统的挂载和卸载机制(MountFS
/DragonOS/kernel/src/namespaces/
H A Dmnt_namespace.rs21 use crate::filesystem::vfs::MountFS;
38 root: Option<Arc<MountFS>>,
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs14 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 DV0.1.5.md151 7. 新增:MountFS