Lines Matching refs:firstLBA
275 ReverseBytes(&ebr.partitions[0].firstLBA, 4); in ReadLogicalParts()
277 ReverseBytes(&ebr.partitions[1].firstLBA, 4); in ReadLogicalParts()
300 offset = extendedStart + ebr.partitions[0].firstLBA; in ReadLogicalParts()
305 partitions[partNum].SetStartLBA(ebr.partitions[0].firstLBA + offset); in ReadLogicalParts()
309 if ((ebr.partitions[1].firstLBA != UINT32_C(0)) && (partNum < (MAX_MBR_PARTS - 1))) { in ReadLogicalParts()
310 offset = extendedStart + ebr.partitions[1].firstLBA; in ReadLogicalParts()
367 tempMBR.partitions[i].firstLBA = tempMBR.partitions[i].lengthLBA = 0; in WriteMBRData()
380 tempMBR.partitions[0].firstLBA = 1; in WriteMBRData()
385 … tempMBR.partitions[1].firstLBA = (uint32_t) (partitions[next].GetStartLBA() - extFirstLBA - 1); in WriteMBRData()
387 LBAtoCHS((uint64_t) tempMBR.partitions[1].firstLBA, in WriteMBRData()
393 tempMBR.partitions[1].firstLBA = 0; in WriteMBRData()
398 writeEbrTo = (uint64_t) tempMBR.partitions[1].firstLBA + (uint64_t) extFirstLBA; in WriteMBRData()
423 ReverseBytes(&mbr.partitions[i].firstLBA, 4); in WriteMBRData()
447 ReverseBytes(&mbr.partitions[i].firstLBA, 4); in WriteMBRData()