Searched refs:PartitionRecordInfo (Results 1 – 3 of 3) sorted by relevance
56 …_t *p = buffer; p < buffer + PARTITION_UPDATER_RECORD_MSG_SIZE; p += sizeof(PartitionRecordInfo)) { in IsPartitionUpdated()57 PartitionRecordInfo *pri = reinterpret_cast<PartitionRecordInfo*>(p); in IsPartitionUpdated()99 …if (write(fd, &info_, sizeof(PartitionRecordInfo)) != static_cast<ssize_t>(sizeof(PartitionRecordI… in RecordPartitionSetInfo()103 offset_ += static_cast<off_t>(sizeof(PartitionRecordInfo)); in RecordPartitionSetInfo()134 … if (offset_ + static_cast<off_t>(sizeof(PartitionRecordInfo)) < PARTITION_UPDATER_RECORD_SIZE) { in RecordPartitionUpdateStatus()
41 struct PartitionRecordInfo { struct48 static_assert(sizeof(PartitionRecordInfo) == PARTITION_RECORD_INFO_LEN, argument75 PartitionRecordInfo info_ {};
150 struct PartitionRecordInfo cleanPartition {}; in ClearMisc()152 sizeof(PartitionRecordInfo)) { in ClearMisc()157 if (fwrite(&cleanPartition, sizeof(PartitionRecordInfo), 1, fp.get()) != 1) { in ClearMisc()