Home
last modified time | relevance | path

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

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