Searched refs:firstLBA (Results 1 – 10 of 10) sorted by relevance
/external/gptfdisk/ |
D | gptpart.cc | 37 firstLBA = 0; in GPTPart() 70 if (firstLBA <= lastLBA) in GetLengthLBA() 71 length = lastLBA - firstLBA + UINT64_C(1); in GetLengthLBA() 148 if ((firstLBA > UINT32_MAX) || ((lastLBA - firstLBA) > UINT32_MAX) || (firstLBA > lastLBA)) in IsSizedForMBR() 273 firstLBA = orig.firstLBA; 286 if (firstLBA && other.firstLBA) 287 return (firstLBA < other.firstLBA); 289 return (other.firstLBA < firstLBA); 298 if (firstLBA != 0) { 299 sizeInIeee = BytesToIeee(lastLBA - firstLBA + 1, blockSize); [all …]
|
D | mbrpart.cc | 48 firstLBA = 0; in MBRPart() 80 firstLBA = orig.firstLBA; in operator =() 98 firstLBA = orig.firstLBA; in operator =() 114 return (firstLBA < other.firstLBA); in operator <() 116 return (other.firstLBA < firstLBA); in operator <() 143 firstLBA = UINT32_C(0); in Empty() 164 firstLBA = (uint32_t) start; in SetStartLBA() 185 firstLBA = (uint32_t) start; in SetLocation() 194 if ((partitionType == 0xEE) && (!validCHS) && (firstLBA == 1) && in SetLocation() 204 theStruct->firstLBA = firstLBA; in StoreInStruct() [all …]
|
D | gptcurses.cc | 95 tempSpace->firstLBA = partitions[i].GetFirstLBA(); in MakeSpacesFromParts() 106 void GPTDataCurses::AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA) { in AddEmptySpace() argument 110 tempSpace->firstLBA = firstLBA; in AddEmptySpace() 131 if ((current == firstSpace) && (current->firstLBA > GetFirstUsableLBA())) { in AddEmptySpaces() 132 AddEmptySpace(GetFirstUsableLBA(), current->firstLBA - 1); in AddEmptySpaces() 139 … if ((current->prevSpace != NULL) && (current->prevSpace->lastLBA < (current->firstLBA - 1))) { in AddEmptySpaces() 140 AddEmptySpace(current->prevSpace->lastLBA + 1, current->firstLBA - 1); in AddEmptySpaces() 192 if (current->firstLBA < earliest->firstLBA) in SortSpaces() 237 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); in ShowSpace() 244 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); in ShowSpace() [all …]
|
D | bsd.cc | 148 partitions[i].firstLBA = tempRecords[i].firstLBA; in ReadBSDData() 152 ReverseBytes(&partitions[i].firstLBA, 4); in ReadBSDData() 159 if ((partitions[i].firstLBA == 0) && (partitions[i].lengthLBA > 0) in ReadBSDData() 168 partitions[i].firstLBA += (uint32_t) startSector; in ReadBSDData() 194 cout << partitions[i].firstLBA << "\t"; in DisplayBSDData() 247 retval = (uint64_t) partitions[i].firstLBA; in GetFirstSector() 275 sectorOne = (uint64_t) partitions[i].firstLBA; in AsGPT()
|
D | gptpart.h | 50 uint64_t firstLBA; variable 64 uint64_t GetFirstLBA(void) const {return firstLBA;} in GetFirstLBA() 78 void SetFirstLBA(uint64_t f) {firstLBA = f;} in SetFirstLBA()
|
D | mbrpart.h | 50 uint32_t firstLBA; // see above member 60 uint32_t firstLBA; // see above variable 95 uint64_t GetStartLBA(void) {return firstLBA;} in GetStartLBA()
|
D | gptcurses.h | 68 uint64_t firstLBA; member 92 void AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA);
|
D | basicmbr.cc | 277 ReverseBytes(&ebr.partitions[0].firstLBA, 4); in ReadLogicalParts() 279 ReverseBytes(&ebr.partitions[1].firstLBA, 4); in ReadLogicalParts() 302 offset = extendedStart + ebr.partitions[0].firstLBA; in ReadLogicalParts() 307 partitions[partNum].SetStartLBA(ebr.partitions[0].firstLBA + offset); in ReadLogicalParts() 311 if ((ebr.partitions[1].firstLBA != UINT32_C(0)) && (partNum < (MAX_MBR_PARTS - 1))) { in ReadLogicalParts() 312 offset = extendedStart + ebr.partitions[1].firstLBA; in ReadLogicalParts() 369 tempMBR.partitions[i].firstLBA = tempMBR.partitions[i].lengthLBA = 0; in WriteMBRData() 382 tempMBR.partitions[0].firstLBA = 1; in WriteMBRData() 387 … tempMBR.partitions[1].firstLBA = (uint32_t) (partitions[next].GetStartLBA() - extFirstLBA - 1); in WriteMBRData() 389 LBAtoCHS((uint64_t) tempMBR.partitions[1].firstLBA, in WriteMBRData() [all …]
|
D | bsd.h | 50 uint32_t firstLBA; // starting sector member
|
/external/syslinux/utils/ |
D | isohybrid.c | 186 uint64_t firstLBA; member 853 part->firstLBA = lendian_64(0); in initialise_gpt() 862 part->firstLBA = lendian_64(efi_lba * 4); in initialise_gpt() 863 part->lastLBA = lendian_64(part->firstLBA + efi_count - 1); in initialise_gpt() 875 part->firstLBA = lendian_64(mac_lba * 4); in initialise_gpt() 876 part->lastLBA = lendian_64(part->firstLBA + mac_count - 1); in initialise_gpt()
|