Searched refs:NumberOfWrites (Results 1 – 11 of 11) sorted by relevance
82 UINT64 NumberOfWrites; member108 #define FTW_RECORD_TOTAL_SIZE(NumberOfWrites, PrivateDataSize) \ argument109 … ((UINTN) (NumberOfWrites) * (sizeof (EFI_FAULT_TOLERANT_WRITE_RECORD) + (UINTN) PrivateDataSize))111 #define FTW_WRITE_TOTAL_SIZE(NumberOfWrites, PrivateDataSize) \ argument113 sizeof (EFI_FAULT_TOLERANT_WRITE_HEADER) + (UINTN) (NumberOfWrites) * \
61 Offset += FTW_WRITE_TOTAL_SIZE (FtwHeader->NumberOfWrites, FtwHeader->PrivateDataSize); in FtwGetLastWriteHeader()108 for (Index = 0; Index < FtwWriteHeader->NumberOfWrites; Index += 1) { in FtwGetLastWriteRecord()129 if (Index == FtwWriteHeader->NumberOfWrites) { in FtwGetLastWriteRecord()
80 IN UINTN NumberOfWrites in FtwAllocate() argument97 …if (FTW_WRITE_TOTAL_SIZE (NumberOfWrites, PrivateDataSize) > FtwDevice->FtwWorkSpaceHeader->WriteQ… in FtwAllocate()117 …if (Offset + FTW_WRITE_TOTAL_SIZE (NumberOfWrites, PrivateDataSize) > FtwDevice->FtwWorkSpaceSize)… in FtwAllocate()132 FtwHeader->NumberOfWrites = NumberOfWrites; in FtwAllocate()165 NumberOfWrites) in FtwAllocate()376 …if (((UINTN)((UINT8 *) Record - (UINT8 *) Header)) > FTW_WRITE_TOTAL_SIZE (Header->NumberOfWrites … in FtwWrite()
52 UINTN NumberOfWrites; member
83 IN UINTN NumberOfWrites
208 IN UINTN NumberOfWrites in FtwAllocate() argument223 SmmFtwAllocateHeader->NumberOfWrites = NumberOfWrites; in FtwAllocate()
802 Offset += FTW_WRITE_TOTAL_SIZE (FtwHeader->NumberOfWrites, FtwHeader->PrivateDataSize); in FtwGetLastWriteHeader()849 for (Index = 0; Index < FtwWriteHeader->NumberOfWrites; Index += 1) { in FtwGetLastWriteRecord()870 if (Index == FtwWriteHeader->NumberOfWrites) { in FtwGetLastWriteRecord()928 Head += FTW_WRITE_TOTAL_SIZE (FtwHeader->NumberOfWrites - 1, FtwHeader->PrivateDataSize); in IsLastRecordOfWrites()1339 Offset += FTW_WRITE_TOTAL_SIZE (FtwHeader->NumberOfWrites, FtwHeader->PrivateDataSize); in InitFtwProtocol()
166 IN UINTN NumberOfWrites
378 SmmFtwAllocateHeader->NumberOfWrites in SmmFaultTolerantWriteHandler()
449 FTW_WRITE_TOTAL_SIZE (Header->NumberOfWrites, Header->PrivateDataSize) in FtwReclaimWorkSpace()
77 IN UINTN NumberOfWrites