Searched refs:curbad (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dix_altsctr.c391 blkaddr_t curbad; local
414 curbad = blc_p->bl_sec[i];
415 if (curbad < (blkaddr_t)cur_dtype->dtype_nsect) {
417 "Ignoring bad sector %ld which is in first track of the drive.\n", curbad);
420 if (curbad >= maxsec) {
422 "Ignoring bad sector %ld which is past the end of the drive.\n", curbad);
425 growbadp[cnt].bad_start = curbad;
426 growbadp[cnt].bad_end = curbad;
/illumos-gate/usr/src/cmd/addbadsec/
H A Dix_altsctr.c386 blkaddr_t curbad; local
403 curbad = blc_p->bl_sec[i];
404 if (curbad < (blkaddr_t)dkg.dkg_nsect) {
407 " track of the drive.\n", curbad);
410 if (curbad >= maxsec) {
413 " the end of the drive.\n", curbad);
416 growbadp[cnt].bad_start = curbad;
417 growbadp[cnt].bad_end = curbad;

Completed in 59 milliseconds