OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EBR
(Results
1 - 2
of
2
) sorted by null
/external/gptfdisk/
mbrpart.h
32
#define
EBR
4 /* sector is used as an
EBR
or MBR */
41
// On read of logical entries, it's relative to the
EBR
record for that
42
// partition. When writing
EBR
records, it's relative to the extended
basicmbr.cc
248
struct TempMBR
ebr
;
local
265
if (myDisk->Seek(offset) == 0) { // seek to
EBR
record
269
if (myDisk->Read(&
ebr
, 512) != 512) { // Load the data....
274
ReverseBytes(&
ebr
.MBRSignature, 2);
275
ReverseBytes(&
ebr
.partitions[0].firstLBA, 4);
276
ReverseBytes(&
ebr
.partitions[0].lengthLBA, 4);
277
ReverseBytes(&
ebr
.partitions[1].firstLBA, 4);
278
ReverseBytes(&
ebr
.partitions[1].lengthLBA, 4);
281
if (
ebr
.MBRSignature != MBR_SIGNATURE) {
283
cerr << "
EBR
signature for logical partition invalid; read 0x"
[
all
...]
Completed in 178 milliseconds