Searched refs:firstLBA (Results 1 - 9 of 9) sorted by relevance

/external/gptfdisk/
H A Dmbrpart.cc46 firstLBA = 0;
78 firstLBA = orig.firstLBA;
96 firstLBA = orig.firstLBA;
112 return (firstLBA < other.firstLBA);
114 return (other.firstLBA < firstLBA);
141 firstLBA
327 cout << firstLBA; local
[all...]
H A Dgptpart.cc35 firstLBA = 0;
68 if (firstLBA <= lastLBA)
69 length = lastLBA - firstLBA + UINT64_C(1);
146 if ((firstLBA > UINT32_MAX) || ((lastLBA - firstLBA) > UINT32_MAX) || (firstLBA > lastLBA))
271 firstLBA = orig.firstLBA;
279 // Because this is intended for sorting and a firstLBA value of 0 denotes
282 // firstLBA valu
302 cout << firstLBA << " "; local
[all...]
H A Dgptpart.h50 uint64_t firstLBA; member in class:GPTPart
64 uint64_t GetFirstLBA(void) const {return firstLBA;}
78 void SetFirstLBA(uint64_t f) {firstLBA = f;}
H A Dmbrpart.h40 // On read or write of MBR entries, firstLBA is an absolute disk sector.
50 uint32_t firstLBA; // see above member in struct:MBRRecord
60 uint32_t firstLBA; // see above member in class:MBRPart
95 uint64_t GetStartLBA(void) {return firstLBA;}
H A Dbsd.cc146 partitions[i].firstLBA = tempRecords[i].firstLBA;
150 ReverseBytes(&partitions[i].firstLBA, 4);
157 if ((partitions[i].firstLBA == 0) && (partitions[i].lengthLBA > 0)
166 partitions[i].firstLBA += (uint32_t) startSector;
192 cout << partitions[i].firstLBA << "\t";
245 retval = (uint64_t) partitions[i].firstLBA;
273 sectorOne = (uint64_t) partitions[i].firstLBA;
H A Dgptcurses.h68 uint64_t firstLBA; member in struct:Space
92 void AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA);
H A Dgptcurses.cc95 tempSpace->firstLBA = partitions[i].GetFirstLBA();
106 void GPTDataCurses::AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA) { argument
110 tempSpace->firstLBA = firstLBA;
131 if ((current == firstSpace) && (current->firstLBA > GetFirstUsableLBA())) {
132 AddEmptySpace(GetFirstUsableLBA(), current->firstLBA - 1);
139 if ((current->prevSpace != NULL) && (current->prevSpace->lastLBA < (current->firstLBA - 1))) {
140 AddEmptySpace(current->prevSpace->lastLBA + 1, current->firstLBA - 1);
192 if (current->firstLBA < earliest->firstLBA)
[all...]
H A Dbsd.h46 // Create entries for all fields, although we only use lengthLBA, firstLBA,
50 uint32_t firstLBA; // starting sector member in struct:BSDRecord
H A Dbasicmbr.cc275 ReverseBytes(&ebr.partitions[0].firstLBA, 4);
277 ReverseBytes(&ebr.partitions[1].firstLBA, 4);
300 offset = extendedStart + ebr.partitions[0].firstLBA;
305 partitions[partNum].SetStartLBA(ebr.partitions[0].firstLBA + offset);
309 if ((ebr.partitions[1].firstLBA != UINT32_C(0)) && (partNum < (MAX_MBR_PARTS - 1))) {
310 offset = extendedStart + ebr.partitions[1].firstLBA;
367 tempMBR.partitions[i].firstLBA = tempMBR.partitions[i].lengthLBA = 0;
380 tempMBR.partitions[0].firstLBA = 1;
385 tempMBR.partitions[1].firstLBA = (uint32_t) (partitions[next].GetStartLBA() - extFirstLBA - 1);
387 LBAtoCHS((uint64_t) tempMBR.partitions[1].firstLBA,
[all...]

Completed in 104 milliseconds