Home
last modified time | relevance | path

Searched refs:MountFSInode (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dmount.rs44 self_mountpoint: Option<Arc<MountFSInode>>,
52 pub struct MountFSInode { struct
58 self_ref: Weak<MountFSInode>, argument
64 self_mountpoint: Option<Arc<MountFSInode>>, in new() argument
95 pub fn mountpoint_root_inode(&self) -> Arc<MountFSInode> { in mountpoint_root_inode() argument
96 return Arc::new_cyclic(|self_ref| MountFSInode { in mountpoint_root_inode()
122 impl MountFSInode { impl
130 let inode: Arc<MountFSInode> = Arc::new(self); in wrap()
132 let weak: Weak<MountFSInode> = Arc::downgrade(&inode); in wrap()
135 let ptr: *mut MountFSInode = inode.as_ref() as *const Self as *mut Self; in wrap()
[all …]
/DragonOS/docs/kernel/filesystem/vfs/
H A Ddesign.md58 …作,都会通过MountFSInode的对应方法,判断当前inode是否为挂载点,并对挂载点进行特殊处理。如果发现操作跨越了具体文件系统的边界,MountFS就会将操作转发给下一个文件系统,并执行I…
/DragonOS/kernel/src/namespaces/
H A Dmnt_namespace.rs18 use crate::filesystem::vfs::mount::MountFSInode;
40 mounts: RBTree<InodeId, MountFSInode>,