/DragonOS/docs/kernel/filesystem/vfs/ |
H A D | design.md | 48 - FileSystem:表明某个struct是一个文件系统 51   一般情况下,FileSystem和IndexNode是一对一的关系,也就是,一个文件系统对应一种IndexNode。但是,对于某些特殊的文件系统,比如DevFS,根据不同的设… 55   挂载文件系统虽然实现了FileSystem和IndexNode这两个trait,但它并不是一个“文件系统”,而是一种机制,用于将不同的文件系统挂载到同一个文件系统树上.
|
H A D | index.rst | 12 - 提供文件系统的抽象(FileSystem)
|
/DragonOS/kernel/src/bpf/prog/ |
H A D | mod.rs | 10 use crate::filesystem::vfs::{FilePrivateData, FileSystem, FileType, IndexNode, Metadata}; 87 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mount.rs | 30 FilePrivateData, FileSystem, FileType, IndexNode, InodeId, Magic, SuperBlock, 40 inner_filesystem: Arc<dyn FileSystem>, 63 inner_filesystem: Arc<dyn FileSystem>, in new() argument 103 pub fn inner_filesystem(&self) -> Arc<dyn FileSystem> { in inner_filesystem() argument 300 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument 434 fn mount(&self, fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() 540 impl FileSystem for MountFS {
|
H A D | core.rs | 16 mount::MountFS, syscall::ModeType, AtomicInodeId, FileSystem, FileType, MAX_PATHLEN, 85 fn migrate_virtual_filesystem(new_fs: Arc<dyn FileSystem>) -> Result<(), SystemError> { in migrate_virtual_filesystem() 313 pub fn do_mount(fs: Arc<dyn FileSystem>, mount_point: &str) -> Result<Arc<MountFS>, SystemError> { in do_mount() argument 344 fs: Arc<dyn FileSystem>, in do_mount_mkdir() argument
|
H A D | mod.rs | 371 fn fs(&self) -> Arc<dyn FileSystem>; in fs() argument 404 fn mount(&self, _fs: Arc<dyn FileSystem>) -> Result<Arc<MountFS>, SystemError> { in mount() 845 pub trait FileSystem: Any + Sync + Send + Debug { trait 880 impl DowncastArc for dyn FileSystem { implementation 941 ) -> Result<Arc<dyn FileSystem>, SystemError> { in call() argument 951 fn(data: Option<&dyn FileSystemMakerData>) -> Result<Arc<dyn FileSystem>, SystemError>;
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | null_dev.rs | 5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, 91 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
H A D | zero_dev.rs | 5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, 91 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
H A D | mod.rs | 10 FilePrivateData, FileSystem, FileType, FsInfo, IndexNode, Magic, Metadata, SuperBlock, 39 impl FileSystem for DevFS { 448 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/docs/kernel/filesystem/ |
H A D | overview.md | 79 - 提供文件系统的抽象(FileSystem)
|
/DragonOS/kernel/src/perf/ |
H A D | kprobe.rs | 9 use crate::filesystem::vfs::{FilePrivateData, FileSystem, IndexNode}; 106 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
H A D | mod.rs | 8 FilePrivateData, FileSystem, FileType, FsInfo, IndexNode, Metadata, SuperBlock, 192 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument 210 impl FileSystem for PerfFakeFs {
|
H A D | bpf.rs | 5 use crate::filesystem::vfs::{FilePrivateData, FileSystem, IndexNode}; 303 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/filesystem/devpts/ |
H A D | mod.rs | 32 core::generate_inode_id, FilePrivateData, FileSystem, FsInfo, IndexNode, Metadata, 67 impl FileSystem for DevPtsFs { 186 fn fs(&self) -> alloc::sync::Arc<dyn super::vfs::FileSystem> { in fs() argument
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 6 use super::vfs::{self, FileSystem, FileType, FsInfo, IndexNode, Metadata, SuperBlock}; 30 ) -> Result<Arc<dyn FileSystem + 'static>, SystemError>), 120 impl FileSystem for OverlayFS { 151 ) -> Result<Arc<dyn FileSystem + 'static>, SystemError> { in make_overlayfs() 291 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | kvm_dev.rs | 7 FilePrivateData, FileSystem, FileType, IndexNode, Metadata, 110 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
H A D | vcpu_dev.rs | 7 core::generate_inode_id, file::FileMode, FilePrivateData, FileSystem, FileType, IndexNode, 118 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
H A D | vm_dev.rs | 7 FilePrivateData, FileSystem, FileType, IndexNode, Metadata, 116 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/driver/keyboard/ |
H A D | ps2_keyboard.rs | 26 FileSystem, FileType, IndexNode, Metadata, 165 fn fs(&self) -> alloc::sync::Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 25 file::FilePrivateData, syscall::ModeType, utils::DName, FileSystem, FileSystemMaker, FsInfo, 102 impl FileSystem for RamFS { 158 ) -> Result<Arc<dyn FileSystem + 'static>, SystemError> { in make_ramfs() 169 ) -> Result<Arc<dyn FileSystem + 'static>, SystemError>), 263 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 3 use crate::filesystem::vfs::{FilePrivateData, FileSystem, FileType, IndexNode, Metadata}; 239 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 25 core::generate_inode_id, file::FileMode, syscall::ModeType, FilePrivateData, FileSystem, 36 impl FileSystem for KernFS { 297 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | mod.rs | 35 FileSystem, FsInfo, IndexNode, InodeId, Magic, Metadata, SuperBlock, 292 impl FileSystem for ProcFS { 555 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument 829 let fs: Arc<dyn FileSystem> = procfs_inode.fs(); in procfs_unregister_pid()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | mod.rs | 7 vfs::{syscall::ModeType, FileSystem},
|
/DragonOS/kernel/src/ipc/ |
H A D | pipe.rs | 3 core::generate_inode_id, file::FileMode, syscall::ModeType, FilePrivateData, FileSystem, 436 fn fs(&self) -> Arc<(dyn FileSystem)> { in fs() argument
|