Lines Matching refs:metadata
127 let metadata = device.metadata()?; in register_device() localVariable
128 match metadata.file_type { in register_device()
200 match device.metadata().unwrap().file_type { in unregister_device()
253 metadata: Metadata, field
273 metadata: Metadata { in new_with_parent()
350 if guard.metadata.file_type != FileType::Dir { in do_create_with_data()
364 metadata: Metadata { in do_create_with_data()
426 if inode.metadata.file_type != FileType::Dir { in find()
454 if inode.metadata.file_type != FileType::Dir { in get_entry_name()
472 if v.metadata().unwrap().inode_id.into() == ino { in get_entry_name()
483 …{inode_id:?}, to find={to_find:?}", key_len=key.len(), inode_id = inode.metadata.inode_id, to_find… in get_entry_name()
499 let info = self.metadata()?; in list()
520 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() method
521 return Ok(self.0.lock().metadata.clone()); in metadata()
524 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
526 inode.metadata.atime = metadata.atime; in set_metadata()
527 inode.metadata.mtime = metadata.mtime; in set_metadata()
528 inode.metadata.ctime = metadata.ctime; in set_metadata()
529 inode.metadata.mode = metadata.mode; in set_metadata()
530 inode.metadata.uid = metadata.uid; in set_metadata()
531 inode.metadata.gid = metadata.gid; in set_metadata()