OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gpt
(Results
26 - 40
of
40
) sorted by null
1
2
/external/vboot_reference/firmware/lib/
gpt_misc.c
11
#include "
gpt
.h"
17
* Allocate and read
GPT
data from the drive.
49
/* Only read primary
GPT
if the primary header is valid */
66
VBDEBUG(("Primary
GPT
header invalid!\n"));
74
/* Only read secondary
GPT
if the secondary header is valid */
91
VBDEBUG(("Secondary
GPT
header invalid!\n"));
94
/* Return 0 if least one
GPT
header was valid */
99
* Write any changes for the
GPT
data back to the drive, then free the buffers.
113
* TODO(namnguyen): Preserve padding between primary
GPT
header and
132
VBDEBUG(("Not updating
GPT
header 1:
[
all
...]
/external/syslinux/utils/
isohybrid.c
805
initialise_gpt(uint8_t *
gpt
, uint32_t current, uint32_t alternate, int primary)
807
struct gpt_header *header = (struct gpt_header *)
gpt
;
839
gpt
+= sizeof(struct gpt_header) + hole * 512;
841
gpt
-= header->sizeOfPartitionEntries * header->numParts;
843
part = (struct gpt_part_header *)
gpt
;
857
gpt
+= sizeof(struct gpt_part_header);
866
gpt
+= sizeof(struct gpt_part_header);
869
gpt
+= sizeof(struct gpt_part_header);
892
initialise_apm(uint8_t *
gpt
, uint32_t start)
894
struct apple_part_header *part = (struct apple_part_header *)
gpt
;
[
all
...]
/external/gptfdisk/
basicmbr.h
39
enum MBRValidity {invalid,
gpt
, hybrid, mbr};
enumerator in enum:MBRValidity
48
// the logical partitions, to simplify data retrieval for
GPT
conversions.
83
//
GPT
checks and fixes...
mbr.cc
71
state =
gpt
;
74
// Optimizes the size of the 0xEE (EFI
GPT
) partition
110
// Used to help keep
GPT
& hybrid MBR partitions in sync....
127
} // if (hybrid &
GPT
partition < 2TiB)
137
// Return the MBR data as a
GPT
partition....
basicmbr.cc
216
// Check to see if it's in
GPT
format....
220
state =
gpt
;
225
// If there's an EFI
GPT
partition, look for other partition types,
227
if (state ==
gpt
) {
486
if ((state ==
gpt
) || (state == hybrid)) {
498
partitions[i].ShowData((state ==
gpt
) || (state == hybrid));
511
case
gpt
:
528
*
GPT
Checks and fixes *
532
// Perform a very rudimentary check for
GPT
data on the disk; searches for
533
// the
GPT
signature in the main and backup metadata areas
[
all
...]
gpt.cc
0
/*
gpt
.cc -- Functions for loading, saving, and manipulating legacy MBR and
GPT
partition
26
#include "
gpt
.h"
91
// The following constructor loads
GPT
data from a device file
177
// First, check for CRC errors in the
GPT
data....
180
cout << "\nProblem: The CRC for the main
GPT
header is invalid. The main
GPT
header may\n"
181
<< "be corrupt. Consider loading the backup
GPT
header to rebuild the main
GPT
\n"
194
cout << "\nProblem: The CRC for the backup
GPT
header is invalid. The backup GPT header\n
[
all
...]
/external/vboot_reference/cgpt/
cgpt_find.c
106
// This returns true if a
GPT
partition matches the search criteria. If a match
107
// isn't found (or if the file doesn't contain a
GPT
), it returns false. The
117
if (GPT_SUCCESS != GptSanityCheck(&drive->
gpt
)) {
122
entry = GetEntry(&drive->
gpt
, ANY_VALID, i);
cgpt_prioritize.c
13
// contains an unordered list of
GPT
partition numbers.
113
if (GPT_SUCCESS != (gpt_retval = GptSanityCheck(&drive.
gpt
))) {
191
// Now apply the ranking to the
GPT
/external/vboot_reference/tests/
vboot_kernel_tests.c
16
#include "
gpt
.h"
73
* Prepare a valid
GPT
header that will pass CheckHeader() tests
210
int GptInit(GptData *
gpt
)
215
int GptNextKernelEntry(GptData *
gpt
, uint64_t *start_sector, uint64_t *size)
222
if (
gpt
->flags & GPT_FLAG_EXTERNAL)
225
gpt
->current_kernel = mock_part_next;
232
void GetCurrentKernelUniqueGuid(GptData *
gpt
, void *dest)
291
* Test reading/writing
GPT
318
* Invalidate primary
GPT
header,
337
* Invalidate secondary
GPT
header
[
all
...]
/external/syslinux/com32/chain/
chain.c
88
* Search for a specific drive/partition, based on the
GPT
GUID.
103
/* Check for a matching
GPT
disk/partition guid */
106
if (!memcmp(&iter->
gpt
.part_guid, gpt_guid, sizeof *gpt_guid))
118
* Search for a specific drive/partition, based on the
GPT
label.
132
/* Check for a matching
GPT
partition label */
135
if (!strcmp(label, iter->
gpt
.part_label))
293
error("Unable to find requested
GPT
disk or partition by guid.");
302
error("Unable to find requested
GPT
partition by label.");
391
*
gpt
/dos schemes as well as raw disks; checking index for 0 covers both
412
/*
GPT
handover protocol *
[
all
...]
/external/syslinux/com32/include/syslinux/
disk.h
122
* A
GPT
disk/partition GUID
135
/* A
GPT
partition */
145
/* A
GPT
header */
185
extern void disk_gpt_header_dump(const struct disk_gpt_header *const
gpt
);
/device/google/marlin/recovery/gpt-utils/
gpt-utils.cpp
53
#define LOG_TAG "
gpt
-utils"
56
#include "
gpt
-utils.h"
72
/*
GPT
defines */
174
* \brief Search within
GPT
for partition entry with the given name
199
/* Partition names in
GPT
are UTF-16 - ignoring UTF-16 2nd byte */
215
* \brief Swaps boot chain in
GPT
partition entries array
273
* \brief Sets secondary
GPT
boot chain
297
fprintf(stderr, "Failed to get
GPT
device block size: %s\n",
304
fprintf(stderr, "Failed to allocate memory to hold
GPT
block\n");
310
fprintf(stderr, "Getting secondary
GPT
header offset failed: %s\n"
[
all
...]
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Gpt.asm
12
;*
gpt
.asm
101
; Read
GPT
Header from hard disk to 0x0000:0x0800
114
; Read Target
GPT
Entry from hard disk to 0x0000:0x0A00
245
; GptPartitionIndicator - Used to indicate which
GPT
partition to be boot
Gpt.S
12
#*
gpt
.asm
103
# Read
GPT
Header from hard disk to 0x0000:0x0800
116
# Read Target
GPT
Entry from hard disk to 0x0000:0x0A00
248
# GptPartitionIndicator - Used to indicate which
GPT
partition to be boot
/external/caliper/lib/
jersey-core-1.11.jar
Completed in 368 milliseconds
1
2