Home
last modified time | relevance | path

Searched refs:FileSystem (Results 1 – 25 of 32) sorted by relevance

12

/DragonOS/docs/kernel/filesystem/vfs/
H A Ddesign.md48 - FileSystem:表明某个struct是一个文件系统
51   一般情况下,FileSystem和IndexNode是一对一的关系,也就是,一个文件系统对应一种IndexNode。但是,对于某些特殊的文件系统,比如DevFS,根据不同的设…
55   挂载文件系统虽然实现了FileSystem和IndexNode这两个trait,但它并不是一个“文件系统”,而是一种机制,用于将不同的文件系统挂载到同一个文件系统树上.
H A Dindex.rst12 - 提供文件系统的抽象(FileSystem
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs10 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 Dmount.rs30 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 Dcore.rs16 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 Dmod.rs371 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 Dnull_dev.rs5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
91 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
H A Dzero_dev.rs5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
91 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
H A Dmod.rs10 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 Doverview.md79 - 提供文件系统的抽象(FileSystem
/DragonOS/kernel/src/perf/
H A Dkprobe.rs9 use crate::filesystem::vfs::{FilePrivateData, FileSystem, IndexNode};
106 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
H A Dmod.rs8 FilePrivateData, FileSystem, FileType, FsInfo, IndexNode, Metadata, SuperBlock,
192 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
210 impl FileSystem for PerfFakeFs {
H A Dbpf.rs5 use crate::filesystem::vfs::{FilePrivateData, FileSystem, IndexNode};
303 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs32 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 Dmod.rs6 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 Dkvm_dev.rs7 FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
110 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
H A Dvcpu_dev.rs7 core::generate_inode_id, file::FileMode, FilePrivateData, FileSystem, FileType, IndexNode,
118 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
H A Dvm_dev.rs7 FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
116 fn fs(&self) -> Arc<dyn FileSystem> { in fs() argument
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs26 FileSystem, FileType, IndexNode, Metadata,
165 fn fs(&self) -> alloc::sync::Arc<dyn FileSystem> { in fs() argument
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs25 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 Deventfd.rs3 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 Dmod.rs25 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 Dmod.rs35 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 Dmod.rs7 vfs::{syscall::ModeType, FileSystem},
/DragonOS/kernel/src/ipc/
H A Dpipe.rs3 core::generate_inode_id, file::FileMode, syscall::ModeType, FilePrivateData, FileSystem,
436 fn fs(&self) -> Arc<(dyn FileSystem)> { in fs() argument

12