Home | History | Annotate | Download | only in atactl

Lines Matching defs:erlog

1057 	const struct ata_smart_errorlog *erlog = buf;
1068 if (erlog->data_structure_revision != 1) {
1070 erlog->data_structure_revision);
1074 if (erlog->mostrecenterror == 0) {
1079 if (erlog->mostrecenterror > 5) {
1084 for (i = erlog->mostrecenterror; i < 5; i++)
1085 print_error_entry(i, &erlog->log_entries[i]);
1086 for (i = 0; i < erlog->mostrecenterror; i++)
1087 print_error_entry(i, &erlog->log_entries[i]);
1088 printf("device error count: %d\n", erlog->device_error_count);