/DragonOS-0.1.8/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.8/kernel/src/filesystem/ |
D | mod.rs | 7 pub mod vfs; module
|
/DragonOS-0.1.8/docs/kernel/filesystem/ |
D | index.rst | 13 vfs/index
|
D | overview.md | 84   关于VFS的详细介绍,请见[DragonOS虚拟文件系统](vfs/index.rst)。
|
/DragonOS-0.1.8/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() 158 _data: &mut super::vfs::FilePrivateData, in open() 164 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() 173 _data: &mut super::vfs::FilePrivateData, in read_at() 183 _data: &mut super::vfs::FilePrivateData, in write_at() 188 fn poll(&self) -> Result<super::vfs::PollStatus, SystemError> { in poll() 208 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 | class.rs | 2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
|
D | bus.rs | 2 use crate::{filesystem::vfs::IndexNode, kdebug, syscall::SystemError};
|
/DragonOS-0.1.8/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 | 8 filesystem::vfs::file::{File, FileMode},
|
/DragonOS-0.1.8/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.8/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.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 2 use crate::filesystem::vfs::file::FileMode; 3 use crate::filesystem::vfs::{
|
/DragonOS-0.1.8/kernel/src/net/ |
D | socket.rs | 13 filesystem::vfs::{FileType, IndexNode, Metadata, PollStatus}, 1139 _data: &mut crate::filesystem::vfs::FilePrivateData, in open() 1140 _mode: &crate::filesystem::vfs::file::FileMode, in open() 1147 _data: &mut crate::filesystem::vfs::FilePrivateData, in close() 1161 _data: &mut crate::filesystem::vfs::FilePrivateData, in read_at() 1171 _data: &mut crate::filesystem::vfs::FilePrivateData, in write_at() 1176 fn poll(&self) -> Result<crate::filesystem::vfs::PollStatus, SystemError> { in poll() 1191 fn fs(&self) -> alloc::sync::Arc<dyn crate::filesystem::vfs::FileSystem> { in fs() 1203 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata()
|
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | driver.rs | 2 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
|
D | bus.rs | 12 vfs::IndexNode,
|
D | mod.rs | 9 vfs::IndexNode,
|
/DragonOS-0.1.8/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.8/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.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 14 filesystem::vfs::{ 25 use super::vfs::{ 220 fn root_inode(&self) -> Arc<dyn super::vfs::IndexNode> { in root_inode()
|
/DragonOS-0.1.8/kernel/src/driver/base/char/ |
D | mod.rs | 5 use crate::{filesystem::vfs::IndexNode, kerror, libs::spinlock::SpinLock, syscall::SystemError};
|
/DragonOS-0.1.8/kernel/src/process/ |
D | exec.rs | 6 filesystem::vfs::{
|