Lines Matching full:defect
34 #include "defect.h"
42 * are set from a command in the defect menu.
54 int scan_restore_defects = 1; /* restore defect list after writing */
66 * analysis error was caused by a media defect or some other problem.
68 int media_error; /* error was caused by defect */
106 * parameters. It is called from several commands in the defect menu,
122 * Check to be sure we aren't correcting without a defect list in do_scan()
123 * if the controller can correct the defect. in do_scan()
127 err_print("Current Defect List must be initialized "); in do_scan()
183 * we mark the defect list and/or label dirty so it will get rewritten. in do_scan()
405 * If the defect list is dirty, write it to disk, in do_scan()
520 * add the defect to the list and write the list out. in scan_repair()
524 * For embedded scsi, we don't require a defect list. in scan_repair()
525 * However, if we have one, add the defect if the in scan_repair()
540 * same defect to the defect list. in scan_repair()
567 * an error if a defect is found. It is called by do_scan().
694 * an error if a defect is found. It is called by analyze_blocks().