Lines Matching refs:metadata
99 match device.metadata().unwrap().file_type { in register_device()
140 match device.metadata().unwrap().file_type { in unregister_device()
193 metadata: Metadata, field
211 metadata: Metadata { in new_with_parent()
277 if guard.metadata.file_type != FileType::Dir { in do_create_with_data()
291 metadata: Metadata { in do_create_with_data()
349 if inode.metadata.file_type != FileType::Dir { in find()
373 if inode.metadata.file_type != FileType::Dir { in get_entry_name()
390 .filter(|k| inode.children.get(*k).unwrap().metadata().unwrap().inode_id == ino) in get_entry_name()
397 …_id={inode_id}, to find={to_find}", key_len=key.len(), inode_id = inode.metadata.inode_id, to_find… in get_entry_name()
408 let info = self.metadata()?; in list()
421 fn metadata(&self) -> Result<Metadata, i32> { in metadata() method
422 return Ok(self.0.lock().metadata.clone()); in metadata()
425 fn set_metadata(&self, metadata: &Metadata) -> Result<(), i32> { in set_metadata()
427 inode.metadata.atime = metadata.atime; in set_metadata()
428 inode.metadata.mtime = metadata.mtime; in set_metadata()
429 inode.metadata.ctime = metadata.ctime; in set_metadata()
430 inode.metadata.mode = metadata.mode; in set_metadata()
431 inode.metadata.uid = metadata.uid; in set_metadata()
432 inode.metadata.gid = metadata.gid; in set_metadata()
442 if inode.metadata.file_type == FileType::Dir { in poll()