Lines Matching refs:currentSpace
53 currentSpace = NULL; in GPTDataCurses()
281 currentSpace = ShowSpace(i, lineNum++); in DisplayParts()
284 currentSpace = ShowSpace(i, lineNum); in DisplayParts()
314 currentSpace = lastSpace; in DeletePartition()
433 while ((newFirstLBA < currentSpace->firstLBA) || (newFirstLBA > currentSpace->lastLBA)) { in MakeNewPart()
434 newFirstLBA = currentSpace->firstLBA; in MakeNewPart()
437 newFirstLBA = currentSpace->firstLBA; in MakeNewPart()
439 …printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstL… in MakeNewPart()
443 …newFirstLBA = IeeeToInt(inLine, blockSize, currentSpace->firstLBA, currentSpace->lastLBA, newFirst… in MakeNewPart()
446 size = currentSpace->lastLBA - newFirstLBA + 1; in MakeNewPart()
447 while ((newLastLBA > currentSpace->lastLBA) || (newLastLBA < newFirstLBA)) { in MakeNewPart()
557 if (currentSpace != NULL) { in ChangeSpaceSelection()
558 while ((delta > 0) && (currentSpace->nextSpace != NULL)) { in ChangeSpaceSelection()
559 currentSpace = currentSpace->nextSpace; in ChangeSpaceSelection()
563 while ((delta < 0) && (currentSpace->prevSpace != NULL)) { in ChangeSpaceSelection()
564 currentSpace = currentSpace->prevSpace; in ChangeSpaceSelection()
573 currentSpace = firstSpace; in ChangeSpaceSelection()
600 if (currentSpace != NULL) { in DisplayOptions()
601 if (currentSpace->partNum == -1) { // empty space is selected in DisplayOptions()
691 if (ValidPartNum(currentSpace->partNum)) in Dispatch()
692 DeletePartition(currentSpace->partNum); in Dispatch()
698 if (ValidPartNum(currentSpace->partNum)) in Dispatch()
699 ShowInfo(currentSpace->partNum); in Dispatch()
705 if (ValidPartNum(currentSpace->partNum)) in Dispatch()
706 ChangeName(currentSpace->partNum); in Dispatch()
709 if (currentSpace->partNum < 0) { in Dispatch()
718 if (ValidPartNum(currentSpace->partNum)) in Dispatch()
719 ChangeType(currentSpace->partNum); in Dispatch()