Lines Matching refs:metadata
104 let metadata = device.metadata()?; in register_device() localVariable
105 match metadata.file_type { in register_device()
155 match device.metadata().unwrap().file_type { in unregister_device()
208 metadata: Metadata, field
226 metadata: Metadata { in new_with_parent()
296 if guard.metadata.file_type != FileType::Dir { in do_create_with_data()
310 metadata: Metadata { in do_create_with_data()
371 if inode.metadata.file_type != FileType::Dir { in find()
395 if inode.metadata.file_type != FileType::Dir { in get_entry_name()
412 .filter(|k| inode.children.get(*k).unwrap().metadata().unwrap().inode_id == ino) in get_entry_name()
419 …_id={inode_id}, to find={to_find}", key_len=key.len(), inode_id = inode.metadata.inode_id, to_find… in get_entry_name()
430 let info = self.metadata()?; in list()
443 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() method
444 return Ok(self.0.lock().metadata.clone()); in metadata()
447 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
449 inode.metadata.atime = metadata.atime; in set_metadata()
450 inode.metadata.mtime = metadata.mtime; in set_metadata()
451 inode.metadata.ctime = metadata.ctime; in set_metadata()
452 inode.metadata.mode = metadata.mode; in set_metadata()
453 inode.metadata.uid = metadata.uid; in set_metadata()
454 inode.metadata.gid = metadata.gid; in set_metadata()
464 if inode.metadata.file_type == FileType::Dir { in poll()