Searched refs:health_log (Results 1 – 2 of 2) sorted by relevance
320 struct nvme_health_information_page health_log; member659 memset(&sc->health_log, 0, sizeof(sc->health_log)); in pci_nvme_init_logpages()668 sc->health_log.temperature = NVME_TEMPERATURE; in pci_nvme_init_logpages()669 sc->health_log.available_spare = 100; in pci_nvme_init_logpages()670 sc->health_log.available_spare_threshold = 10; in pci_nvme_init_logpages()677 memcpy(&sc->health_log.power_cycles, &power_cycles, in pci_nvme_init_logpages()678 sizeof(sc->health_log.power_cycles)); in pci_nvme_init_logpages()1437 if (logoff >= sizeof(sc->health_log)) { in nvme_opc_get_log_page()1444 memcpy(&sc->health_log.data_units_read, &sc->read_data_units, in nvme_opc_get_log_page()1445 sizeof(sc->health_log.data_units_read)); in nvme_opc_get_log_page()[all …]
2616 nvme_health_log_t *health_log = NULL; in nvme_async_event_task() local2723 (void **)&health_log, &logsize, in nvme_async_event_task()2882 if (health_log != NULL) in nvme_async_event_task()2883 kmem_free(health_log, logsize); in nvme_async_event_task()