Lines Matching defs:first_sector
523 uint64_t first_sector;
599 first_sector = 0;
603 first_sector = 0;
608 /* <first_sector> */
609 p = property_find(params, "first_sector");
611 first_sector = strtoul(p, &q, 0);
613 errx(1, "first_sector not a proper number");
622 if (last_sector <= first_sector)
623 errx(1, "last_sector not larger than first_sector");
634 last_sector = first_sector + total_sectors - 1;
637 if (l_opt == NULL && first_sector != 0)
638 errx(1, "No -L new-lockfile argument and first_sector != 0");
640 first_sector++;
644 gl->sector0 = first_sector * gl->sectorsize;
646 if (total_sectors != (last_sector - first_sector) + 1)
647 errx(1, "total_sectors disagree with first_sector and last_sector");
708 off = first_sector * sector_size;
711 err(1, "lseek(2) to first_sector");