Lines Matching full:defect

59 /* format defect header bits */
125 SCMD_READ_DEFECT_LIST, "read defect list",
154 * READ DEFECT DATA commands is optional as per SCSI-2 spec.
380 * upon the defect list the user extracted. If they in scsi_format()
382 * the P (manufacturer's defect) list. Otherwise, we in scsi_format()
452 * clear defect header and try basecase format in scsi_format()
471 * source of defect information is not specified. in scsi_format()
517 * send down a defect list in the data phase) and the in scsi_raw_format()
519 * complete G list), and a defect list header with in scsi_raw_format()
520 * a defect list length of zero. in scsi_raw_format()
529 /* No G list. Send empty defect list to replace it */ in scsi_raw_format()
547 /* clear defect header and try basecase format */ in scsi_raw_format()
565 * Caller should add 50% margin to cover defect management overhead.
1618 * Extract the manufacturer's defect list.
1633 * Extract the current defect list.
1677 int len; /* returned defect list length */ in scsi_read_defect_data()
1716 " defect lists.\n"); in scsi_read_defect_data()
1718 err_print("No %s defect list.\n", in scsi_read_defect_data()
1748 err_print("can't read defect list 2nd time"); in scsi_read_defect_data()
1789 defect_list.length = sizeof (defect_list.defect); in scsi_repair()
1791 defect_list.defect = bn; in scsi_repair()
1792 defect_list.defect = BE_32(defect_list.defect); in scsi_repair()
1798 * Convert a SCSI-style defect list to our generic format.
1834 new_defect->nbits = 0; /* size of defect */ in scsi_convert_list_to_new()
1858 * Merge adjacent contiguous defect entries into one in scsi_convert_list_to_new()
1859 * and update the length of the defect in scsi_convert_list_to_new()
1954 * add 50% margin to cover defect management overhead. in uscsi_cmd()
3287 * Function checks if READ DEFECT DATA command is supported
3344 * which do not support read defect list command.
3359 * which do not support read defect list command. in scsi_format_without_defects()