Lines Matching refs:first
501 int i, first, last;
522 first = read_int(0, 0, 0, 0, mesg);
524 first = read_int(scround(start), scround(stop)+1,
527 first *= units_per_sector;
531 int x = first % cs;
534 first += cs - x;
536 if (n == 2 && first != 0)
543 boot from the disc, the first partition, /dev/sdX1, must
546 first two sectors of the disc. Therefore you must be
551 or EXT2 file system, as these file systems leave the first
557 if (lens[i] && starts[i] <= first
558 && starts[i] + lens[i] > first)
561 if (n == 2 && !first) {
565 printf(_("Sector %d is already allocated\n"), first);
572 if (starts[i] > first && starts[i] < stop)
581 else if (n == 2 && !first)
582 last = read_int(scround(first), scround(stop2), scround(stop2),
583 scround(first), mesg);
585 last = read_int(scround(first), scround(stop), scround(stop),
586 scround(first), mesg);
589 if (n == 2 && !first) {
606 set_sun_partition(n, first, last, sys);