Lines Matching refs:MountFS
15 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
330 let new_mount_fs: Arc<MountFS> = MountFS::new(fs, Some(self.self_ref.upgrade().unwrap())); in mount()
340 impl FileSystem for MountFS { implementation