Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/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.8/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.8/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.8/kernel/src/filesystem/vfs/
Dmod.rs150 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
159 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
295 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), SystemError> { in get_entry_name_and_metadata() argument
449 pub struct Metadata { struct
495 impl Default for Metadata { argument
553 impl Metadata { impl
555 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};
175 pub fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
/DragonOS-0.1.8/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.8/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.8/kernel/src/filesystem/sysfs/
Dmod.rs2 core::generate_inode_id, file::FileMode, FileSystem, FileType, FsInfo, IndexNode, Metadata,
200 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
307 metadata: Metadata { in do_create_with_data()
411 metadata: Metadata,
429 metadata: Metadata { in new_with_parent()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs27 FileSystem, FsInfo, IndexNode, InodeId, Metadata, PollStatus,
98 metadata: Metadata,
245 metadata: Metadata { in new()
442 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
449 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
496 metadata: Metadata { in create_with_data()
/DragonOS-0.1.8/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()
1464 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs13 filesystem::vfs::{FileType, IndexNode, Metadata, PollStatus},
1203 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata() argument
1204 let meta = Metadata { in metadata()