Searched refs:lengthLBA (Results 1 – 6 of 6) sorted by relevance
/third_party/gptfdisk/ |
D | mbrpart.cc | 49 lengthLBA = 0; in MBRPart() 81 lengthLBA = orig.lengthLBA; in operator =() 99 lengthLBA = orig.lengthLBA; in operator =() 100 if (lengthLBA > 0) in operator =() 113 if (lengthLBA && other.lengthLBA) in operator <() 144 lengthLBA = UINT32_C(0); in Empty() 171 lengthLBA = (uint32_t) length; in SetLengthLBA() 186 lengthLBA = (uint32_t) length; in SetLocation() 195 ((lengthLBA == diskSize - 1) || (lengthLBA == UINT32_MAX))) { in SetLocation() 205 theStruct->lengthLBA = lengthLBA; in StoreInStruct() [all …]
|
D | bsd.cc | 147 partitions[i].lengthLBA = tempRecords[i].lengthLBA; in ReadBSDData() 151 ReverseBytes(&partitions[i].lengthLBA, 4); in ReadBSDData() 159 if ((partitions[i].firstLBA == 0) && (partitions[i].lengthLBA > 0) in ReadBSDData() 160 && (partitions[i].lengthLBA < labelLastLBA)) in ReadBSDData() 196 cout << partitions[i].lengthLBA << " \t0x"; in DisplayBSDData() 257 retval = (uint64_t) partitions[i].lengthLBA; in GetLength() 276 sectorEnd = sectorOne + (uint64_t) partitions[i].lengthLBA; in AsGPT()
|
D | mbrpart.h | 49 uint32_t lengthLBA; member 60 uint32_t lengthLBA; variable 95 uint64_t GetLengthLBA(void) {return lengthLBA;} in GetLengthLBA()
|
D | bsd.h | 46 uint32_t lengthLBA; // number of sectors in partition member
|
D | basicmbr.cc | 311 ReverseBytes(&ebr.partitions[0].lengthLBA, 4); in ReadLogicalParts() 313 ReverseBytes(&ebr.partitions[1].lengthLBA, 4); in ReadLogicalParts() 402 tempMBR.partitions[i].firstLBA = tempMBR.partitions[i].lengthLBA = 0; in WriteMBRData() 421 tempMBR.partitions[1].lengthLBA = (uint32_t) (partitions[next].GetLengthLBA() + 1); in WriteMBRData() 424 LBAtoCHS(tempMBR.partitions[1].lengthLBA - extFirstLBA, in WriteMBRData() 429 tempMBR.partitions[1].lengthLBA = 0; in WriteMBRData() 459 ReverseBytes(&mbr.partitions[i].lengthLBA, 4); in WriteMBRData() 483 ReverseBytes(&mbr.partitions[i].lengthLBA, 4); in WriteMBRData()
|
D | basicmbr.h | 114 void MakePart(int num, uint64_t startLBA, uint64_t lengthLBA, int type = 0x07,
|