/DragonOS-0.1.8/docs/kernel/filesystem/vfs/ |
D | design.md | 48 - FileSystem:表明某个struct是一个文件系统 51   一般情况下,FileSystem和IndexNode是一对一的关系,也就是,一个文件系统对应一种IndexNode。但是,对于某些特殊的文件系统,比如DevFS,根据不同的设… 55   挂载文件系统虽然实现了FileSystem和IndexNode这两个trait,但它并不是一个“文件系统”,而是一种机制,用于将不同的文件系统挂载到同一个文件系统树上.
|
D | index.rst | 12 - 提供文件系统的抽象(FileSystem)
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mount.rs | 10 use super::{file::FileMode, FilePrivateData, FileSystem, FileType, IndexNode, InodeId}; 17 inner_filesystem: Arc<dyn FileSystem>, 39 inner_fs: Arc<dyn FileSystem>, in new() argument 79 pub fn inner_filesystem(&self) -> Arc<dyn FileSystem> { in inner_filesystem() argument 176 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument 323 fn mount(&self, fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() 340 impl FileSystem for MountFS {
|
D | mod.rs | 315 fn fs(&self) -> Arc<dyn FileSystem>; in fs() argument 326 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() 517 pub trait FileSystem: Any + Sync + Send + Debug { trait
|
D | core.rs | 17 vfs::{mount::MountFS, FileSystem, FileType}, 133 fn migrate_virtual_filesystem(new_fs: Arc<dyn FileSystem>) -> Result<(), SystemError> { in migrate_virtual_filesystem()
|
/DragonOS-0.1.8/docs/kernel/filesystem/ |
D | overview.md | 79 - 提供文件系统的抽象(FileSystem)
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 4 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, PollStatus, 84 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
D | zero_dev.rs | 4 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, PollStatus, 84 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
D | mod.rs | 8 FileSystem, FileType, FsInfo, IndexNode, Metadata, PollStatus, 32 impl FileSystem for DevFS { 389 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 4 core::generate_inode_id, make_rawdev, FilePrivateData, FileSystem, FileType, IndexNode, 90 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | pipe.rs | 5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, 223 fn fs(&self) -> Arc<(dyn FileSystem)> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | mod.rs | 2 core::generate_inode_id, file::FileMode, FileSystem, FileType, FsInfo, IndexNode, Metadata, 74 impl FileSystem for SysFS { 204 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 18 file::FilePrivateData, FileSystem, FsInfo, IndexNode, InodeId, Metadata, PollStatus, 56 impl FileSystem for RamFS { 192 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 27 FileSystem, FsInfo, IndexNode, InodeId, Metadata, PollStatus, 219 impl FileSystem for ProcFS { 434 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument 701 let fs: Arc<dyn FileSystem> = procfs_inode.fs(); in procfs_unregister_pid()
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 172 fn fs(&self) -> alloc::sync::Arc<dyn crate::filesystem::vfs::FileSystem> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 216 fn fs(&self) -> Arc<dyn crate::filesystem::vfs::FileSystem> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 15 FileSystem, FileType, IndexNode, InodeId, Metadata, PollStatus, 228 impl FileSystem for FATFileSystem { 1456 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS-0.1.8/kernel/src/net/ |
D | socket.rs | 1191 fn fs(&self) -> alloc::sync::Arc<dyn crate::filesystem::vfs::FileSystem> { in fs() argument
|