OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FtwHeader
(Results
1 - 4
of
4
) sorted by null
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWritePei/
FaultTolerantWritePei.c
54
EFI_FAULT_TOLERANT_WRITE_HEADER *
FtwHeader
;
57
FtwHeader
= (EFI_FAULT_TOLERANT_WRITE_HEADER *) (FtwWorkSpaceHeader + 1);
60
while (
FtwHeader
->Complete == FTW_VALID_STATE) {
61
Offset += FTW_WRITE_TOTAL_SIZE (
FtwHeader
->NumberOfWrites,
FtwHeader
->PrivateDataSize);
66
*FtwWriteHeader =
FtwHeader
;
70
FtwHeader
= (EFI_FAULT_TOLERANT_WRITE_HEADER *) ((UINT8 *) FtwWorkSpaceHeader + Offset);
75
*FtwWriteHeader =
FtwHeader
;
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
FtwMisc.c
795
EFI_FAULT_TOLERANT_WRITE_HEADER *
FtwHeader
;
798
FtwHeader
= (EFI_FAULT_TOLERANT_WRITE_HEADER *) (FtwWorkSpaceHeader + 1);
801
while (
FtwHeader
->Complete == FTW_VALID_STATE) {
802
Offset += FTW_WRITE_TOTAL_SIZE (
FtwHeader
->NumberOfWrites,
FtwHeader
->PrivateDataSize);
807
*FtwWriteHeader =
FtwHeader
;
811
FtwHeader
= (EFI_FAULT_TOLERANT_WRITE_HEADER *) ((UINT8 *) FtwWorkSpaceHeader + Offset);
816
*FtwWriteHeader =
FtwHeader
;
879
To check if FtwRecord is the first record of
FtwHeader
.
881
@param
FtwHeader
Pointer to the write record header
[
all
...]
FaultTolerantWrite.c
86
EFI_FAULT_TOLERANT_WRITE_HEADER *
FtwHeader
;
103
// If the
FtwHeader
is complete, skip the completed last write header/records
105
FtwHeader
= FtwDevice->FtwLastWriteHeader;
110
if ((
FtwHeader
->HeaderAllocated == FTW_VALID_STATE) || (
FtwHeader
->WritesAllocated == FTW_VALID_STATE)) {
116
Offset = (UINT8 *)
FtwHeader
- (UINT8 *) FtwDevice->FtwWorkSpace;
123
FtwHeader
= FtwDevice->FtwLastWriteHeader;
129
FtwHeader
->WritesAllocated = FTW_INVALID_STATE;
130
FtwHeader
->Complete = FTW_INVALID_STATE;
131
CopyMem (&
FtwHeader
->CallerId, CallerId, sizeof (EFI_GUID));
[
all
...]
FaultTolerantWrite.h
504
To check if FtwRecord is the first record of
FtwHeader
.
506
@param
FtwHeader
Pointer to the write record header
509
@retval TRUE FtwRecord is the first Record of the
FtwHeader
510
@retval FALSE FtwRecord is not the first Record of the
FtwHeader
515
IN EFI_FAULT_TOLERANT_WRITE_HEADER *
FtwHeader
,
520
To check if FtwRecord is the last record of
FtwHeader
. Because the
521
FtwHeader
has NumberOfWrites & PrivateDataSize, the FtwRecord can be
522
determined if it is the last record of
FtwHeader
.
524
@param
FtwHeader
Pointer to the write record header
527
@retval TRUE FtwRecord is the last Record of the
FtwHeader
[
all
...]
Completed in 6045 milliseconds