Home
last modified time | relevance | path

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

12

/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
27 metadata: Metadata,
39 metadata: Metadata { in new()
87 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
99 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
H A Dzero_dev.rs5 core::generate_inode_id, FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
27 metadata: Metadata,
39 metadata: Metadata { in new()
87 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
99 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
H A Dmod.rs10 FilePrivateData, FileSystem, FileType, FsInfo, IndexNode, Magic, Metadata, SuperBlock,
253 metadata: Metadata,
273 metadata: Metadata { in new_with_parent()
364 metadata: Metadata { in do_create_with_data()
520 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
524 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
/DragonOS/kernel/src/virt/kvm/
H A Dkvm_dev.rs7 FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
46 metadata: Metadata,
57 metadata: Metadata { in new()
106 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
118 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
H A Dvcpu_dev.rs8 Metadata,
56 metadata: Metadata,
68 metadata: Metadata { in new()
114 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
126 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
H A Dvm_dev.rs7 FilePrivateData, FileSystem, FileType, IndexNode, Metadata,
54 metadata: Metadata,
66 metadata: Metadata { in new()
112 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
124 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dcopy_up.rs3 filesystem::vfs::{IndexNode, Metadata},
32 fn create_upper_inode(&self, metadata: Metadata) -> Result<Arc<dyn IndexNode>, SystemError> { in create_upper_inode()
H A Dmod.rs6 use super::vfs::{self, FileSystem, FileType, FsInfo, IndexNode, Metadata, SuperBlock};
295 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
303 Ok(Metadata::default()) in metadata()
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs26 FileSystem, FileType, IndexNode, Metadata,
71 metadata: Metadata,
80 metadata: Metadata { in new()
149 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
153 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs10 use crate::filesystem::vfs::{FilePrivateData, FileSystem, FileType, IndexNode, Metadata};
74 fn metadata(&self) -> Result<Metadata> { in metadata() argument
75 let meta = Metadata { in metadata()
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs32 core::generate_inode_id, FilePrivateData, FileSystem, FsInfo, IndexNode, Metadata,
103 metadata: Metadata { in new()
132 metadata: Metadata,
154 fn metadata(&self) -> Result<super::vfs::Metadata, SystemError> { in metadata() argument
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs26 FileType, FsInfo, IndexNode, InodeId, Magic, Metadata, SuperBlock,
87 let metadata = Metadata { in create_root_inode()
147 metadata: Metadata,
176 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
180 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
271 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), SystemError> { in get_entry_name_and_metadata() argument
391 mut metadata: Metadata, in new() argument
518 let metadata = Metadata { in inner_create()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmod.rs199 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
208 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
338 fn get_entry_name_and_metadata(&self, ino: InodeId) -> Result<(String, Metadata), SystemError> { in get_entry_name_and_metadata() argument
723 pub struct Metadata { struct
769 impl Default for Metadata { argument
905 impl Metadata { implementation
907 Metadata { in new()
H A Dmount.rs310 fn metadata(&self) -> Result<super::Metadata, SystemError> { in metadata() argument
315 fn set_metadata(&self, metadata: &super::Metadata) -> Result<(), SystemError> { in set_metadata()
406 ) -> Result<(alloc::string::String, super::Metadata), SystemError> { in get_entry_name_and_metadata() argument
/DragonOS/kernel/src/ipc/
H A Dpipe.rs4 FileType, IndexNode, Metadata,
59 metadata: Metadata,
136 metadata: Metadata { in new()
299 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata() argument
429 ) -> Result<(alloc::string::String, crate::filesystem::vfs::Metadata), SystemError> { in get_entry_name_and_metadata() argument
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs26 IndexNode, InodeId, Metadata, SpecialNodeData,
64 metadata: Metadata,
80 metadata: Metadata { in new()
271 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
279 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
326 metadata: Metadata { in create_with_data()
588 metadata: Metadata { in mknod()
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs3 use crate::filesystem::vfs::{FilePrivateData, FileSystem, FileType, IndexNode, Metadata};
215 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
216 let meta = Metadata { in metadata()
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs29 vfs::{file::FileMode, syscall::ModeType, FilePrivateData, FileType, IndexNode, Metadata},
64 metadata: Metadata,
76 metadata: Metadata::new(FileType::CharDevice, ModeType::from_bits_truncate(0o755)), in new()
80 pub fn metadata_mut(&mut self) -> &mut Metadata { in metadata_mut() argument
290 fn metadata(&self) -> Result<crate::filesystem::vfs::Metadata, SystemError> { in metadata() argument
294 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs33 Metadata,
226 devfs_metadata: Metadata::new( in new()
271 devfs_metadata: Metadata,
447 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
/DragonOS/kernel/src/perf/
H A Dmod.rs8 FilePrivateData, FileSystem, FileType, FsInfo, IndexNode, Metadata, SuperBlock,
140 fn metadata(&self) -> Result<Metadata> { in metadata() argument
141 let meta = Metadata { in metadata()
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs35 FileSystem, FsInfo, IndexNode, InodeId, Magic, Metadata, SuperBlock,
123 metadata: Metadata,
330 metadata: Metadata { in new()
563 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
570 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
618 metadata: Metadata { in create_with_data()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs35 FileType, IndexNode, Metadata,
192 devfs_metadata: Metadata { in new()
426 devfs_metadata: Metadata,
655 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
/DragonOS/kernel/src/bpf/map/
H A Dmod.rs13 use crate::filesystem::vfs::{FilePrivateData, FileSystem, FileType, IndexNode, Metadata};
161 fn metadata(&self) -> Result<Metadata> { in metadata() argument
162 let meta = Metadata { in metadata()
/DragonOS/kernel/src/libs/
H A Dprintk.rs90 fn enabled(&self, _metadata: &log::Metadata) -> bool { in enabled()
/DragonOS/kernel/src/net/socket/
H A Dmod.rs22 Metadata,
389 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() argument
390 let meta = Metadata { in metadata()

12