OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GptData
(Results
1 - 13
of
13
) sorted by null
/external/vboot_reference/firmware/lib/cgptlib/include/
cgptlib.h
23
int GptNextKernelEntry(
GptData
*gpt, uint64_t *start_sector, uint64_t *size);
cgptlib_internal.h
79
* Verify
GptData
parameters are sane.
81
int CheckParameters(
GptData
* gpt);
115
* Check
GptData
, headers, entries.
122
int GptSanityCheck(
GptData
*gpt);
129
void GptRepair(
GptData
*gpt);
135
void GptModified(
GptData
*gpt);
154
void GetCurrentKernelUniqueGuid(
GptData
*gpt, void *dest);
/external/vboot_reference/firmware/include/
gpt_misc.h
31
/* Bit masks for
GptData
.modified field. */
73
* gpt_drive_sectors, but it does do a memset(gpt, 0, sizeof(
GptData
)). And so,
113
}
GptData
;
140
int GptInit(
GptData
*gpt);
147
GptEntry *GptFindNthEntry(
GptData
*gpt, const Guid *guid, unsigned int n);
156
int AllocAndReadGptData(VbExDiskHandle_t disk_handle,
GptData
*
gptdata
);
161
int WriteAndFreeGptData(VbExDiskHandle_t disk_handle,
GptData
*
gptdata
);
176
size_t GptGetEntrySizeBytes(const
GptData
*gpt, const GptEntry *e)
[
all
...]
/external/vboot_reference/cgpt/
cgpt.h
47
GptData
gpt;
150
GptEntry *GetEntry(
GptData
*gpt, int secondary, uint32_t entry_index);
167
uint8_t RepairHeader(
GptData
*gpt, const uint32_t valid_headers);
168
uint8_t RepairEntries(
GptData
*gpt, const uint32_t valid_entries);
169
void UpdateCrc(
GptData
*gpt);
cgpt_common.c
688
static GptHeader* GetGptHeader(const
GptData
*gpt) {
705
GptEntry *GetEntry(
GptData
*gpt, int secondary, uint32_t entry_index) {
817
void UpdateCrc(
GptData
*gpt) {
877
* This function returns bit masks for
GptData
.modified field.
880
uint8_t RepairEntries(
GptData
*gpt, const uint32_t valid_entries) {
937
uint8_t RepairHeader(
GptData
*gpt, const uint32_t valid_headers) {
[
all
...]
/external/vboot_reference/firmware/lib/cgptlib/
cgptlib.c
15
int GptInit(
GptData
*gpt)
33
int GptNextKernelEntry(
GptData
*gpt, uint64_t *start_sector, uint64_t *size)
120
int GptUpdateKernelWithEntry(
GptData
*gpt, GptEntry *e, uint32_t update_type)
198
int GptUpdateKernelEntry(
GptData
*gpt, uint32_t update_type)
215
GptEntry *GptFindNthEntry(
GptData
*gpt, const Guid *guid, unsigned int n)
cgptlib_internal.c
23
int CheckParameters(
GptData
*gpt)
237
int GptSanityCheck(
GptData
*gpt)
315
void GptRepair(
GptData
*gpt)
406
void GetCurrentKernelUniqueGuid(
GptData
*gpt, void *dest)
413
void GptModified(
GptData
*gpt) {
/external/vboot_reference/tests/
cgptlib_test.c
68
* Given a
GptData
pointer, first re-calculate entries CRC32 value, then reset
72
static void RefreshCrc32(
GptData
*gpt)
94
static void ZeroHeaders(
GptData
*gpt)
100
static void ZeroEntries(
GptData
*gpt)
106
static void ZeroHeadersEntries(
GptData
*gpt)
113
* Return a pointer to a static
GptData
instance (no free is required).
117
static
GptData
*GetEmptyGptData(void)
119
static
GptData
gpt;
132
/* Initialize
GptData
internal states. */
145
static void BuildTestGptData(
GptData
*gpt
[
all
...]
vboot_kernel_tests.c
210
int GptInit(
GptData
*gpt)
215
int GptNextKernelEntry(
GptData
*gpt, uint64_t *start_sector, uint64_t *size)
232
void GetCurrentKernelUniqueGuid(
GptData
*gpt, void *dest)
295
GptData
g;
/external/vboot_reference/firmware/lib/
gpt_misc.c
24
int AllocAndReadGptData(VbExDiskHandle_t disk_handle,
GptData
*
gptdata
)
30
gptdata
->modified = 0;
33
gptdata
->primary_header = (uint8_t *)VbExMalloc(
gptdata
->sector_bytes);
34
gptdata
->secondary_header =
35
(uint8_t *)VbExMalloc(
gptdata
->sector_bytes);
36
gptdata
->primary_entries = (uint8_t *)VbExMalloc(max_entries_bytes);
37
gptdata
->secondary_entries = (uint8_t *)VbExMalloc(max_entries_bytes);
39
if (
gptdata
->primary_header == NULL |
[
all
...]
vboot_kernel.c
40
GptData
gpt;
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/
DxeTpm2MeasureBootLib.c
143
EFI_GPT_DATA *
GptData
;
213
EventSize = (UINT32)(sizeof (EFI_GPT_DATA) - sizeof (
GptData
->Partitions)
227
GptData
= (EFI_GPT_DATA *) Tcg2Event->Event;
232
CopyMem ((UINT8 *)
GptData
, (UINT8*)PrimaryHeader, sizeof (EFI_PARTITION_TABLE_HEADER));
233
GptData
->NumberOfPartitions = NumberOfPartition;
242
(UINT8 *)&
GptData
->Partitions + NumberOfPartition * PrimaryHeader->SizeOfPartitionEntry,
257
(EFI_PHYSICAL_ADDRESS) (UINTN) (VOID *)
GptData
,
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DxeTpmMeasureBootLib.c
141
EFI_GPT_DATA *
GptData
;
213
EventSize = (UINT32)(sizeof (EFI_GPT_DATA) - sizeof (
GptData
->Partitions)
225
GptData
= (EFI_GPT_DATA *) TcgEvent->Event;
230
CopyMem ((UINT8 *)
GptData
, (UINT8*)PrimaryHeader, sizeof (EFI_PARTITION_TABLE_HEADER));
231
GptData
->NumberOfPartitions = NumberOfPartition;
240
(UINT8 *)&
GptData
->Partitions + NumberOfPartition * PrimaryHeader->SizeOfPartitionEntry,
255
(EFI_PHYSICAL_ADDRESS) (UINTN) (VOID *)
GptData
,
[
all
...]
Completed in 256 milliseconds