/DragonOS-0.1.7/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 9 vfs::{core::generate_inode_id, file::FileMode, FileType, IndexNode, Metadata, PollStatus}, 98 _data: &mut crate::filesystem::vfs::FilePrivateData, in read_at() 118 _data: &mut crate::filesystem::vfs::FilePrivateData, in write_at() 125 _data: &mut crate::filesystem::vfs::FilePrivateData, in open() 140 _data: &mut crate::filesystem::vfs::FilePrivateData, in close() 172 fn fs(&self) -> alloc::sync::Arc<dyn crate::filesystem::vfs::FileSystem> { in fs()
|
/DragonOS-0.1.7/kernel/src/filesystem/ |
D | mod.rs | 7 pub mod vfs; module
|
/DragonOS-0.1.7/docs/kernel/filesystem/ |
D | index.rst | 13 vfs/index
|
D | overview.md | 84   关于VFS的详细介绍,请见[DragonOS虚拟文件系统](vfs/index.rst)。
|
/DragonOS-0.1.7/kernel/src/filesystem/sysfs/ |
D | mod.rs | 1 use super::vfs::{ 79 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 83 fn info(&self) -> super::vfs::FsInfo { in info() 156 _data: &mut super::vfs::FilePrivateData, in open() 162 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() 171 _data: &mut super::vfs::FilePrivateData, in read_at() 181 _data: &mut super::vfs::FilePrivateData, in write_at() 186 fn poll(&self) -> Result<super::vfs::PollStatus, SystemError> { in poll() 206 fn get_entry_name(&self, ino: super::vfs::InodeId) -> Result<String, SystemError> { in get_entry_name()
|
D | devices.rs | 2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
|
D | fs.rs | 2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
|
D | bus.rs | 2 use crate::{filesystem::vfs::IndexNode, kdebug, syscall::SystemError};
|
D | class.rs | 2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
|
/DragonOS-0.1.7/kernel/src/ipc/ |
D | pipe.rs | 4 filesystem::vfs::{ 137 _mode: &crate::filesystem::vfs::file::FileMode, in open() 142 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata() 215 ino: crate::filesystem::vfs::InodeId, in get_entry_name_and_metadata() 216 ) -> Result<(alloc::string::String, crate::filesystem::vfs::Metadata), SystemError> { in get_entry_name_and_metadata()
|
D | syscall.rs | 3 filesystem::vfs::file::{File, FileMode},
|
/DragonOS-0.1.7/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 1 use crate::filesystem::vfs::file::FileMode; 2 use crate::filesystem::vfs::make_rawdev; 3 use crate::filesystem::vfs::{
|
D | zero_dev.rs | 1 use crate::filesystem::vfs::file::FileMode; 2 use crate::filesystem::vfs::make_rawdev; 3 use crate::filesystem::vfs::{
|
D | mod.rs | 5 use super::vfs::{ 37 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode() 41 fn info(&self) -> super::vfs::FsInfo { in info() 345 _data: &mut super::vfs::FilePrivateData, in open() 351 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() 393 fn get_entry_name(&self, ino: super::vfs::InodeId) -> Result<String, SystemError> { in get_entry_name() 459 fn poll(&self) -> Result<super::vfs::PollStatus, SystemError> { in poll() 477 _data: &mut super::vfs::file::FilePrivateData, in read_at() 489 _data: &mut super::vfs::file::FilePrivateData, in write_at()
|
/DragonOS-0.1.7/kernel/src/driver/tty/ |
D | tty_device.rs | 10 vfs::{file::FileMode, FilePrivateData, FileType, IndexNode, Metadata, ROOT_INODE}, 147 data: &mut crate::filesystem::vfs::FilePrivateData, in read_at() 181 data: &mut crate::filesystem::vfs::FilePrivateData, in write_at() 212 fn poll(&self) -> Result<crate::filesystem::vfs::PollStatus, SystemError> { in poll() 216 fn fs(&self) -> Arc<dyn crate::filesystem::vfs::FileSystem> { in fs()
|
/DragonOS-0.1.7/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 2 use crate::filesystem::vfs::file::FileMode; 3 use crate::filesystem::vfs::{
|
/DragonOS-0.1.7/kernel/src/net/ |
D | socket.rs | 12 filesystem::vfs::{FileType, IndexNode, Metadata, PollStatus}, 1005 _data: &mut crate::filesystem::vfs::FilePrivateData, in open() 1006 _mode: &crate::filesystem::vfs::file::FileMode, in open() 1013 _data: &mut crate::filesystem::vfs::FilePrivateData, in close() 1023 _data: &mut crate::filesystem::vfs::FilePrivateData, in read_at() 1033 _data: &mut crate::filesystem::vfs::FilePrivateData, in write_at() 1038 fn poll(&self) -> Result<crate::filesystem::vfs::PollStatus, SystemError> { in poll() 1053 fn fs(&self) -> alloc::sync::Arc<dyn crate::filesystem::vfs::FileSystem> { in fs() 1065 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata()
|
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.3.md | 40 - vfs: update: 将VFS文件夹重命名为vfs (#133) 270 1、在文件系统目录下增加mod.rs 2、将VFS的路径改为vfs(#133) 272 2、将VFS的路径改为vfs
|
/DragonOS-0.1.7/kernel/src/driver/base/device/ |
D | driver.rs | 2 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
|
D | mod.rs | 9 vfs::IndexNode,
|
D | bus.rs | 12 vfs::IndexNode,
|
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/ |
D | mod.rs | 11 filesystem::vfs::{core::generate_inode_id, FileType}, 17 use super::vfs::{ 57 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
|
/DragonOS-0.1.7/kernel/src/filesystem/procfs/ |
D | mod.rs | 13 filesystem::vfs::{ 24 use super::vfs::{ 217 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
|
/DragonOS-0.1.7/kernel/src/driver/base/platform/ |
D | mod.rs | 6 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
|
/DragonOS-0.1.7/kernel/src/process/ |
D | process.rs | 10 filesystem::vfs::{
|