OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pmbr
(Results
1 - 4
of
4
) sorted by null
/external/vboot_reference/cgpt/
cgpt_boot.c
35
Error("Unable to read
PMBR
\n");
41
GuidToStr(&drive.
pmbr
.boot_guid, buf, sizeof(buf));
48
if (GuidEqual(&entry->unique, &drive.
pmbr
.boot_guid)) {
83
Error("Unable to read
PMBR
\n");
88
drive.
pmbr
.magic[0] = 0x1d;
89
drive.
pmbr
.magic[1] = 0x9a;
90
drive.
pmbr
.sig[0] = 0x55;
91
drive.
pmbr
.sig[1] = 0xaa;
92
memset(&drive.
pmbr
.part, 0, sizeof(drive.
pmbr
.part))
[
all
...]
cgpt.h
33
struct
pmbr
{
struct
42
void PMBRToStr(struct
pmbr
*
pmbr
, char *str, unsigned int buflen);
48
struct
pmbr
pmbr
;
member in struct:drive
cgpt_common.c
110
int nread = read(drive->fd, &drive->
pmbr
, sizeof(struct
pmbr
));
111
if (nread != sizeof(struct
pmbr
))
121
int nwrote = write(drive->fd, &drive->
pmbr
, sizeof(struct
pmbr
));
122
if (nwrote != sizeof(struct
pmbr
))
[
all
...]
cgpt_show.c
244
Error("Unable to read
PMBR
\n");
249
char buf[256]; // buffer for formatted
PMBR
content
250
PMBRToStr(&drive->
pmbr
, buf, sizeof(buf)); // will exit if buf is too small
Completed in 385 milliseconds