Home
last modified time | relevance | path

Searched refs:Metadata (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dnull_dev.rs4 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, PollStatus,
24 metadata: Metadata,
36 metadata: Metadata { in new()
80 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
92 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
Dzero_dev.rs4 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata, PollStatus,
24 metadata: Metadata,
36 metadata: Metadata { in new()
80 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
92 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
Dmod.rs8 FileSystem, FileType, FsInfo, IndexNode, Metadata, PollStatus,
208 metadata: Metadata,
226 metadata: Metadata { in new_with_parent()
310 metadata: Metadata { in do_create_with_data()
443 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
447 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
/DragonOS-0.1.7/kernel/src/driver/disk/ahci/
Dahci_inode.rs5 Metadata, PollStatus,
27 metadata: Metadata,
42 metadata: Metadata { in new()
86 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
98 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
/DragonOS-0.1.7/kernel/src/driver/keyboard/
Dps2_keyboard.rs9 vfs::{core::generate_inode_id, file::FileMode, FileType, IndexNode, Metadata, PollStatus},
40 metadata: Metadata,
52 metadata: Metadata { in new()
156 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
160 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
/DragonOS-0.1.7/kernel/src/ipc/
Dpipe.rs5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
34 metadata: Metadata,
48 metadata: Metadata { in new()
142 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata() argument
216 ) -> Result<(alloc::string::String, crate::filesystem::vfs::Metadata), SystemError> { in get_entry_name_and_metadata() argument
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dmod.rs149 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
158 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
291 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), SystemError> { in get_entry_name_and_metadata() argument
445 pub struct Metadata { struct
491 impl Default for Metadata { argument
549 impl Metadata { impl
551 Metadata { in new()
Dmount.rs186 fn metadata(&self) -> Result<super::Metadata, SystemError> { in metadata() argument
191 fn set_metadata(&self, metadata: &super::Metadata) -> Result<(), SystemError> { in set_metadata()
306 ) -> Result<(alloc::string::String, super::Metadata), SystemError> { in get_entry_name_and_metadata() argument
Dfile.rs11 use super::{Dirent, FileType, IndexNode, Metadata};
163 pub fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
/DragonOS-0.1.7/kernel/src/driver/tty/
Dtty_device.rs10 vfs::{file::FileMode, FilePrivateData, FileType, IndexNode, Metadata, ROOT_INODE},
42 metadata: Metadata,
228 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
270 let mut metadata = Metadata::new(FileType::CharDevice, 0o755); in new()
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/
Dmod.rs18 file::FilePrivateData, FileSystem, FsInfo, IndexNode, InodeId, Metadata, PollStatus,
51 metadata: Metadata,
83 metadata: Metadata { in new()
200 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
208 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
254 metadata: Metadata { in create_with_data()
/DragonOS-0.1.7/kernel/src/filesystem/sysfs/
Dmod.rs2 core::generate_inode_id, file::FileMode, FileSystem, FileType, FsInfo, IndexNode, Metadata,
198 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
305 metadata: Metadata { in do_create_with_data()
409 metadata: Metadata,
427 metadata: Metadata { in new_with_parent()
/DragonOS-0.1.7/kernel/src/filesystem/procfs/
Dmod.rs26 FileSystem, FsInfo, IndexNode, InodeId, Metadata, PollStatus,
97 metadata: Metadata,
242 metadata: Metadata { in new()
439 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
446 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
493 metadata: Metadata { in create_with_data()
/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dfs.rs15 FileSystem, FileType, IndexNode, InodeId, Metadata, PollStatus,
98 metadata: Metadata,
178 metadata: Metadata { in new()
297 metadata: Metadata { in new()
1460 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs12 filesystem::vfs::{FileType, IndexNode, Metadata, PollStatus},
1065 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata() argument
1066 let meta = Metadata { in metadata()