Searched refs:hlog (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_print.c | 786 nvme_print_health_log(nvme_health_log_t *hlog, nvme_identify_ctrl_t *idctl) in nvme_print_health_log() argument 791 hlog->hl_crit_warn.cw_avail, "low", "OK"); in nvme_print_health_log() 793 hlog->hl_crit_warn.cw_temp, "too high", "OK"); in nvme_print_health_log() 795 hlog->hl_crit_warn.cw_reliab, "degraded", "OK"); in nvme_print_health_log() 797 hlog->hl_crit_warn.cw_readonly, "read-only", "OK"); in nvme_print_health_log() 800 hlog->hl_crit_warn.cw_volatile, "failed", "OK"); in nvme_print_health_log() 803 hlog->hl_temp - 273, NULL, "C"); in nvme_print_health_log() 805 hlog->hl_avail_spare, NULL, "%"); in nvme_print_health_log() 809 hlog->hl_avail_spare_thr, NULL, "%"); in nvme_print_health_log() 812 hlog->hl_used, NULL, "%"); in nvme_print_health_log() [all …]
|
H A D | nvmeadm.c | 658 nvme_health_log_t *hlog; in do_get_logpage_health() local 666 hlog = nvme_get_logpage(fd, NVME_LOGPAGE_HEALTH, &bufsize); in do_get_logpage_health() 668 if (hlog == NULL) in do_get_logpage_health() 672 nvme_print_health_log(hlog, npa->npa_idctl); in do_get_logpage_health() 674 free(hlog); in do_get_logpage_health()
|