Home
last modified time | relevance | path

Searched refs:lengthLBA (Results 1 – 6 of 6) sorted by relevance

/external/gptfdisk/
Dmbrpart.cc47 lengthLBA = 0; in MBRPart()
79 lengthLBA = orig.lengthLBA; in operator =()
97 lengthLBA = orig.lengthLBA; in operator =()
98 if (lengthLBA > 0) in operator =()
111 if (lengthLBA && other.lengthLBA) in operator <()
142 lengthLBA = UINT32_C(0); in Empty()
169 lengthLBA = (uint32_t) length; in SetLengthLBA()
184 lengthLBA = (uint32_t) length; in SetLocation()
193 ((lengthLBA == diskSize - 1) || (lengthLBA == UINT32_MAX))) { in SetLocation()
203 theStruct->lengthLBA = lengthLBA; in StoreInStruct()
[all …]
Dbsd.cc145 partitions[i].lengthLBA = tempRecords[i].lengthLBA; in ReadBSDData()
149 ReverseBytes(&partitions[i].lengthLBA, 4); in ReadBSDData()
157 if ((partitions[i].firstLBA == 0) && (partitions[i].lengthLBA > 0) in ReadBSDData()
158 && (partitions[i].lengthLBA < labelLastLBA)) in ReadBSDData()
194 cout << partitions[i].lengthLBA << " \t0x"; in DisplayBSDData()
255 retval = (uint64_t) partitions[i].lengthLBA; in GetLength()
274 sectorEnd = sectorOne + (uint64_t) partitions[i].lengthLBA; in AsGPT()
Dmbrpart.h51 uint32_t lengthLBA; member
61 uint32_t lengthLBA; variable
96 uint64_t GetLengthLBA(void) {return lengthLBA;} in GetLengthLBA()
Dbsd.h49 uint32_t lengthLBA; // number of sectors in partition member
Dbasicmbr.cc276 ReverseBytes(&ebr.partitions[0].lengthLBA, 4); in ReadLogicalParts()
278 ReverseBytes(&ebr.partitions[1].lengthLBA, 4); in ReadLogicalParts()
367 tempMBR.partitions[i].firstLBA = tempMBR.partitions[i].lengthLBA = 0; in WriteMBRData()
386 tempMBR.partitions[1].lengthLBA = (uint32_t) (partitions[next].GetLengthLBA() + 1); in WriteMBRData()
389 LBAtoCHS(tempMBR.partitions[1].lengthLBA - extFirstLBA, in WriteMBRData()
394 tempMBR.partitions[1].lengthLBA = 0; in WriteMBRData()
424 ReverseBytes(&mbr.partitions[i].lengthLBA, 4); in WriteMBRData()
448 ReverseBytes(&mbr.partitions[i].lengthLBA, 4); in WriteMBRData()
Dbasicmbr.h114 void MakePart(int num, uint64_t startLBA, uint64_t lengthLBA, int type = 0x07,