/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 3 core::generate_inode_id, make_rawdev, FilePrivateData, FileSystem, FileType, IndexNode, 80 fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in open() 84 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close() 124 data: &mut FilePrivateData, in read_at() argument 130 if let FilePrivateData::Unused = data { in read_at() 143 data: &mut FilePrivateData, in write_at() argument 149 if let FilePrivateData::Unused = data { in write_at()
|
/DragonOS-0.1.5/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 3 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, PollStatus, 75 fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in open() 79 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close() 119 _data: &mut FilePrivateData, in read_at() argument 138 _data: &mut FilePrivateData, in write_at() argument
|
D | zero_dev.rs | 3 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, PollStatus, 75 fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in open() 79 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close() 119 _data: &mut FilePrivateData, in read_at() argument 138 _data: &mut FilePrivateData, in write_at() argument
|
D | mod.rs | 325 fn open(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), i32> { in open() 329 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), i32> { in close() 457 _data: &mut super::vfs::file::FilePrivateData, in read_at() argument 468 _data: &mut super::vfs::file::FilePrivateData, in write_at() argument
|
/DragonOS-0.1.5/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 83 _data: &mut crate::filesystem::vfs::FilePrivateData, in read_at() argument 103 _data: &mut crate::filesystem::vfs::FilePrivateData, in write_at() argument 108 fn open(&self, _data: &mut crate::filesystem::vfs::FilePrivateData) -> Result<(), i32> { in open() 115 fn close(&self, _data: &mut crate::filesystem::vfs::FilePrivateData) -> Result<(), i32> { in close()
|
/DragonOS-0.1.5/kernel/src/filesystem/vfs/ |
D | mod.rs | 18 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS}; 94 fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in open() 103 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close() 122 _data: &mut FilePrivateData, in read_at() argument 139 _data: &mut FilePrivateData, in write_at() argument 413 let len = inode.read_at(0, 256, &mut content, &mut FilePrivateData::Unused)?; in lookup_follow_symlink()
|
D | mount.rs | 13 use super::{FilePrivateData, FileSystem, FileType, IndexNode, InodeId}; 129 fn open(&self, data: &mut FilePrivateData) -> Result<(), i32> { in open() 133 fn close(&self, data: &mut FilePrivateData) -> Result<(), i32> { in close() 158 data: &mut FilePrivateData, in read_at() argument 168 _data: &mut FilePrivateData, in write_at() argument 172 .write_at(offset, len, buf, &mut FilePrivateData::Unused); in write_at()
|
D | file.rs | 19 pub enum FilePrivateData { enum 26 impl Default for FilePrivateData { implementation 91 pub private_data: FilePrivateData, 107 private_data: FilePrivateData::default(), in new() 151 .write_at(self.offset, len, buf, &mut FilePrivateData::Unused)?; in write()
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 27 file::FilePrivateData, FileSystem, FsInfo, IndexNode, InodeId, Metadata, PollStatus, 322 fn open(&self, data: &mut FilePrivateData) -> Result<(), i32> { in open() 338 *data = FilePrivateData::Procfs(private_data); in open() 345 fn close(&self, data: &mut FilePrivateData) -> Result<(), i32> { in close() 353 FilePrivateData::Procfs(p) => p, in close() 368 data: &mut FilePrivateData, in read_at() argument 383 FilePrivateData::Procfs(p) => p, in read_at() 415 _data: &mut FilePrivateData, in write_at() argument
|
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/ |
D | mod.rs | 20 file::FilePrivateData, FileSystem, FsInfo, IndexNode, InodeId, Metadata, PollStatus, 124 _data: &mut FilePrivateData, in read_at() argument 156 _data: &mut FilePrivateData, in write_at() argument
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 13 core::generate_inode_id, file::FilePrivateData, FileSystem, FileType, IndexNode, InodeId, 1350 _data: &mut FilePrivateData, in read_at() argument 1378 _data: &mut FilePrivateData, in write_at() argument 1509 fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in open() 1513 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close()
|