Home
last modified time | relevance | path

Searched refs:vfs (Results 1 – 25 of 30) sorted by relevance

12

/DragonOS-0.1.7/kernel/src/driver/keyboard/
Dps2_keyboard.rs9 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/
Dmod.rs7 pub mod vfs; module
/DragonOS-0.1.7/docs/kernel/filesystem/
Dindex.rst13 vfs/index
Doverview.md84 &emsp;&emsp;关于VFS的详细介绍,请见[DragonOS虚拟文件系统](vfs/index.rst)。
/DragonOS-0.1.7/kernel/src/filesystem/sysfs/
Dmod.rs1 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()
Ddevices.rs2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
Dfs.rs2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
Dbus.rs2 use crate::{filesystem::vfs::IndexNode, kdebug, syscall::SystemError};
Dclass.rs2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
/DragonOS-0.1.7/kernel/src/ipc/
Dpipe.rs4 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()
Dsyscall.rs3 filesystem::vfs::file::{File, FileMode},
/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dnull_dev.rs1 use crate::filesystem::vfs::file::FileMode;
2 use crate::filesystem::vfs::make_rawdev;
3 use crate::filesystem::vfs::{
Dzero_dev.rs1 use crate::filesystem::vfs::file::FileMode;
2 use crate::filesystem::vfs::make_rawdev;
3 use crate::filesystem::vfs::{
Dmod.rs5 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/
Dtty_device.rs10 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/
Dahci_inode.rs2 use crate::filesystem::vfs::file::FileMode;
3 use crate::filesystem::vfs::{
/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs12 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/
DV0.1.3.md40 - 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/
Ddriver.rs2 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
Dmod.rs9 vfs::IndexNode,
Dbus.rs12 vfs::IndexNode,
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/
Dmod.rs11 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/
Dmod.rs13 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/
Dmod.rs6 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
/DragonOS-0.1.7/kernel/src/process/
Dprocess.rs10 filesystem::vfs::{

12