Lines Matching refs:newFirstLBA
433 uint64_t size, newFirstLBA = 0, newLastLBA = 0, lastAligned;
445 while ((newFirstLBA < currentSpace->firstLBA) || (newFirstLBA > currentSpace->lastLBA)) {
448 newFirstLBA = currentSpace->firstLBA;
449 Align(&newFirstLBA);
450 printw("First sector (%llu-%llu, default = %llu): ", (long long unsigned int) newFirstLBA,
451 (long long unsigned int) currentSpace->lastLBA, (long long unsigned int) newFirstLBA);
455 newFirstLBA = IeeeToInt(inLine, blockSize, currentSpace->firstLBA, currentSpace->lastLBA, sectorAlignment, newFirstLBA);
456 Align(&newFirstLBA);
458 if (newFirstLBA > lastAligned)
459 size = currentSpace->lastLBA - newFirstLBA + 1;
461 size = lastAligned - newFirstLBA + 1;
462 while ((newLastLBA > currentSpace->lastLBA) || (newLastLBA < newFirstLBA)) {
469 newLastLBA = newFirstLBA + IeeeToInt(inLine, blockSize, 1, size, sectorAlignment, size) - 1;
472 if (CreatePartition(partNum, newFirstLBA, newLastLBA)) { // created OK; set type code & name....