Searched refs:MountFSInode (Results 1 – 3 of 3) sorted by relevance
44 self_mountpoint: Option<Arc<MountFSInode>>,52 pub struct MountFSInode { struct58 self_ref: Weak<MountFSInode>, argument64 self_mountpoint: Option<Arc<MountFSInode>>, in new() argument95 pub fn mountpoint_root_inode(&self) -> Arc<MountFSInode> { in mountpoint_root_inode() argument96 return Arc::new_cyclic(|self_ref| MountFSInode { in mountpoint_root_inode()122 impl MountFSInode { impl130 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 …]
58 …作,都会通过MountFSInode的对应方法,判断当前inode是否为挂载点,并对挂载点进行特殊处理。如果发现操作跨越了具体文件系统的边界,MountFS就会将操作转发给下一个文件系统,并执行I…
18 use crate::filesystem::vfs::mount::MountFSInode;40 mounts: RBTree<InodeId, MountFSInode>,