Home
last modified time | relevance | path

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

12

/DragonOS-0.1.8/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.8/kernel/src/filesystem/
Dmod.rs7 pub mod vfs; module
/DragonOS-0.1.8/docs/kernel/filesystem/
Dindex.rst13 vfs/index
Doverview.md84 &emsp;&emsp;关于VFS的详细介绍,请见[DragonOS虚拟文件系统](vfs/index.rst)。
/DragonOS-0.1.8/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()
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()
Ddevices.rs2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
Dfs.rs2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
Dclass.rs2 use crate::{filesystem::vfs::IndexNode, syscall::SystemError};
Dbus.rs2 use crate::{filesystem::vfs::IndexNode, kdebug, syscall::SystemError};
/DragonOS-0.1.8/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.rs8 filesystem::vfs::file::{File, FileMode},
/DragonOS-0.1.8/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.8/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.8/kernel/src/driver/disk/ahci/
Dahci_inode.rs2 use crate::filesystem::vfs::file::FileMode;
3 use crate::filesystem::vfs::{
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs13 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/
Ddriver.rs2 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
Dbus.rs12 vfs::IndexNode,
Dmod.rs9 vfs::IndexNode,
/DragonOS-0.1.8/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.8/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.8/kernel/src/filesystem/procfs/
Dmod.rs14 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/
Dmod.rs5 use crate::{filesystem::vfs::IndexNode, kerror, libs::spinlock::SpinLock, syscall::SystemError};
/DragonOS-0.1.8/kernel/src/process/
Dexec.rs6 filesystem::vfs::{

12