Lines Matching refs:metadata
114 metadata: Metadata, field
137 self.metadata.size = f.size() as i64; in update_metadata()
140 self.metadata.size = d.size(&self.fs.upgrade().unwrap().clone()) as i64; in update_metadata()
205 metadata: Metadata { in new()
356 metadata: Metadata { in new()
1483 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() method
1484 return Ok(self.0.lock().metadata.clone()); in metadata()
1486 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
1488 inode.metadata.atime = metadata.atime; in set_metadata()
1489 inode.metadata.mtime = metadata.mtime; in set_metadata()
1490 inode.metadata.ctime = metadata.ctime; in set_metadata()
1491 inode.metadata.mode = metadata.mode; in set_metadata()
1492 inode.metadata.uid = metadata.uid; in set_metadata()
1493 inode.metadata.gid = metadata.gid; in set_metadata()
1499 let old_size = guard.metadata.size as usize; in resize()
1541 let old_size = guard.metadata.size as usize; in truncate()
1621 let file_type = target_guard.metadata.file_type; in unlink()
1689 let old_id = self.metadata().unwrap().inode_id; in move_to()
1690 let new_id = target.metadata().unwrap().inode_id; in move_to()
1758 if guard.metadata.file_type != FileType::Dir { in get_entry_name()
1775 if v.0.lock().metadata.inode_id.into() == ino { in get_entry_name()
1786 …{inode_id:?}, to find={to_find:?}", key_len=key.len(), inode_id = guard.metadata.inode_id, to_find… in get_entry_name()
1799 if inode.metadata.file_type != FileType::Dir { in mknod()
1818 nod.0.lock().metadata.file_type = FileType::Pipe; in mknod()
1824 nod.0.lock().metadata.file_type = FileType::BlockDevice; in mknod()
1827 nod.0.lock().metadata.file_type = FileType::CharDevice; in mknod()