Lines Matching refs:current
60 whichOptions = ""; // current set of options
110 // Add a single empty Space to the current Spaces linked list and sort the result....
127 Space *current;
134 current = firstSpace;
135 while ((current != NULL) /* && (current->partNum != -1) */ ) {
136 if ((current == firstSpace) && (current->firstLBA > GetFirstUsableLBA())) {
137 AddEmptySpace(GetFirstUsableLBA(), current->firstLBA - 1);
140 if ((current == lastSpace) && (current->lastLBA < GetLastUsableLBA())) {
141 AddEmptySpace(current->lastLBA + 1, GetLastUsableLBA());
144 if ((current->prevSpace != NULL) && (current->prevSpace->lastLBA < (current->firstLBA - 1))) {
145 AddEmptySpace(current->prevSpace->lastLBA + 1, current->firstLBA - 1);
148 current = current->nextSpace;
172 // Link theSpace to the end of the current linked list.
189 Space *oldFirst, *oldLast, *earliest = NULL, *current = NULL;
195 current = earliest = oldFirst;
196 while (current != NULL) {
197 if (current->firstLBA < earliest->firstLBA)
198 earliest = current;
199 current = current->nextSpace;
366 printw("Enter new partition name, or <Enter> to use the current name:\n");