Searched defs:new_defect (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dctlr_ata.c288 struct defect_entry *new_defect; local
294 new_defect = calloc(ap->ap_tblp->alts_ent_used,
296 if (new_defect == NULL) {
303 list->list = new_defect;
305 i++, new_defect++) {
306 new_defect->cyl =
308 new_defect->head =
310 new_defect->bfi = UNKNOWN;
311 new_defect->sect =
313 new_defect
[all...]
H A Dctlr_scsi.c1886 register struct defect_entry *new_defect; local
1901 new_defect = (struct defect_entry *)
1906 list->list = new_defect;
1908 for (i = 0, new_len = 0; i < len; new_defect++, new_len++) {
1910 new_defect->cyl = (cp[0] << 16 | cp[1] << 8) | cp[2];
1911 new_defect->head = old_defect->head;
1912 new_defect->bfi = (int)old_defect->bytes_from_index;
1913 new_defect->bfi = BE_32(new_defect->bfi);
1914 new_defect
[all...]

Completed in 57 milliseconds