Home | History | Annotate | Download | only in nvmectl

Lines Matching defs:health

231 	struct nvme_health_information_page *health = buf;
235 nvme_health_information_page_swapbytes(health);
237 printf("SMART/Health Information Log\n");
241 health->critical_warning);
243 (uint8_t)__SHIFTOUT(health->critical_warning,
246 (uint8_t)__SHIFTOUT(health->critical_warning,
249 (uint8_t)__SHIFTOUT(health->critical_warning,
252 (uint8_t)__SHIFTOUT(health->critical_warning,
255 (uint8_t)__SHIFTOUT(health->critical_warning,
258 print_temp(health->composite_temperature);
260 health->available_spare);
262 health->available_spare_threshold);
264 health->percentage_used);
266 print_bignum1("Data units read:", health->data_units_read, "", "B", 512000);
267 print_bignum1("Data units written:", health->data_units_written,
269 print_bignum("Host read commands:", health->host_read_commands, "");
270 print_bignum("Host write commands:", health->host_write_commands, "");
271 print_bignum("Controller busy time (minutes):", health->controller_busy_time,
273 print_bignum("Power cycles:", health->power_cycles, "");
274 print_bignum("Power on hours:", health->power_on_hours, "");
275 print_bignum("Unsafe shutdowns:", health->unsafe_shutdowns, "");
276 print_bignum("Media errors:", health->media_errors, "");
278 health->num_error_info_log_entries, "");
280 printf("Warning Temp Composite Time: %d\n", health->warning_temp_time);
281 printf("Error Temp Composite Time: %d\n", health->error_temp_time);
282 for (i = 0; i < __arraycount(health->temp_sensor); i++) {
283 if (health->temp_sensor[i] == 0)
286 print_temp(health->temp_sensor[i]);
932 {NVME_LOG_HEALTH_INFORMATION, NULL, "Health/SMART Data",
936 {HGST_INFO_LOG, "hgst", "Detailed Health/SMART",
938 {HGST_INFO_LOG, "wds", "Detailed Health/SMART",
946 {INTEL_LOG_ADD_SMART, "intel", "Extra Health/SMART Data",
948 {INTEL_LOG_ADD_SMART, "samsung", "Extra Health/SMART Data",
1048 * supports the SMART/Health information log page on a per
1058 "smart/health information");