Home
last modified time | relevance | path

Searched refs:mount_fs (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmount.rs32 mount_fs: Arc<MountFS>, field
56 let mount_fs: Arc<MountFS> = Arc::new(self); in wrap() localVariable
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()
73 mount_fs: self.self_ref.upgrade().unwrap(), in mountpoint_root_inode()
117 if let Some(sub_mountfs) = self.mount_fs.mountpoints.lock().get(&inode_id) { in overlaid_inode()
177 return self.mount_fs.clone(); in fs()
209 mount_fs: self.mount_fs.clone(), in create()
225 if self.mount_fs.mountpoints.lock().contains_key(&inode_id) { in unlink()
237 if self.mount_fs.mountpoints.lock().contains_key(&inode_id) { in rmdir()
[all …]
Dcore.rs51 let mount_fs = MountFS::new(ramfs, None); in vfs_init() localVariable
52 let root_inode = Box::leak(Box::new(mount_fs.root_inode())); in vfs_init()