Lines Matching defs:erlog
1058 const struct ata_smart_errorlog *erlog = buf;
1069 if (erlog->data_structure_revision != 1) {
1071 erlog->data_structure_revision);
1075 if (erlog->mostrecenterror == 0) {
1080 if (erlog->mostrecenterror > 5) {
1085 for (i = erlog->mostrecenterror; i < 5; i++)
1086 print_error_entry(i, &erlog->log_entries[i]);
1087 for (i = 0; i < erlog->mostrecenterror; i++)
1088 print_error_entry(i, &erlog->log_entries[i]);
1089 printf("device error count: %d\n", erlog->device_error_count);