FEMU  原版 master 7e238cc
FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
NvmeSmartLog结构体 参考

#include <nvme.h>

成员变量

uint8_t critical_warning
 
uint8_t temperature [2]
 
uint8_t available_spare
 
uint8_t available_spare_threshold
 
uint8_t percentage_used
 
uint8_t reserved1 [26]
 
uint64_t data_units_read [2]
 
uint64_t data_units_written [2]
 
uint64_t host_read_commands [2]
 
uint64_t host_write_commands [2]
 
uint64_t controller_busy_time [2]
 
uint64_t power_cycles [2]
 
uint64_t power_on_hours [2]
 
uint64_t unsafe_shutdowns [2]
 
uint64_t media_errors [2]
 
uint64_t number_of_error_log_entries [2]
 
uint8_t reserved2 [320]
 

结构体成员变量说明

◆ available_spare

uint8_t NvmeSmartLog::available_spare

◆ available_spare_threshold

uint8_t NvmeSmartLog::available_spare_threshold

◆ controller_busy_time

uint64_t NvmeSmartLog::controller_busy_time[2]

◆ critical_warning

uint8_t NvmeSmartLog::critical_warning

◆ data_units_read

uint64_t NvmeSmartLog::data_units_read[2]

◆ data_units_written

uint64_t NvmeSmartLog::data_units_written[2]

◆ host_read_commands

uint64_t NvmeSmartLog::host_read_commands[2]

◆ host_write_commands

uint64_t NvmeSmartLog::host_write_commands[2]

◆ media_errors

uint64_t NvmeSmartLog::media_errors[2]

◆ number_of_error_log_entries

uint64_t NvmeSmartLog::number_of_error_log_entries[2]

◆ percentage_used

uint8_t NvmeSmartLog::percentage_used

◆ power_cycles

uint64_t NvmeSmartLog::power_cycles[2]

◆ power_on_hours

uint64_t NvmeSmartLog::power_on_hours[2]

◆ reserved1

uint8_t NvmeSmartLog::reserved1[26]

◆ reserved2

uint8_t NvmeSmartLog::reserved2[320]

◆ temperature

uint8_t NvmeSmartLog::temperature[2]

◆ unsafe_shutdowns

uint64_t NvmeSmartLog::unsafe_shutdowns[2]

该结构体的文档由以下文件生成: