smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Enumerations | Functions
smartmontools Namespace Reference

Classes

struct  nvme_error_log_page
 
struct  nvme_id_ctrl
 
struct  nvme_id_ns
 
struct  nvme_id_power_state
 
struct  nvme_lbaf
 
struct  nvme_self_test_log
 
struct  nvme_self_test_result
 
struct  nvme_smart_log
 

Enumerations

enum  nvme_admin_opcode { nvme_admin_get_log_page = 0x02 , nvme_admin_identify = 0x06 , nvme_admin_dev_self_test = 0x14 }
 

Functions

 STATIC_ASSERT (sizeof(nvme_error_log_page)==64)
 
 STATIC_ASSERT (sizeof(nvme_id_power_state)==32)
 
 STATIC_ASSERT (sizeof(nvme_id_ctrl)==4096)
 
 STATIC_ASSERT (sizeof(nvme_lbaf)==4)
 
 STATIC_ASSERT (sizeof(nvme_id_ns)==4096)
 
 STATIC_ASSERT (sizeof(nvme_smart_log)==512)
 
 STATIC_ASSERT (sizeof(nvme_self_test_result)==28)
 
 STATIC_ASSERT (sizeof(nvme_self_test_log)==564)
 

Enumeration Type Documentation

◆ nvme_admin_opcode

Enumerator
nvme_admin_get_log_page 
nvme_admin_identify 
nvme_admin_dev_self_test 

Definition at line 204 of file nvmecmds.h.

Function Documentation

◆ STATIC_ASSERT() [1/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_error_log_page = =64)

◆ STATIC_ASSERT() [2/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_id_ctrl = =4096)

◆ STATIC_ASSERT() [3/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_id_ns = =4096)

◆ STATIC_ASSERT() [4/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_id_power_state = =32)

◆ STATIC_ASSERT() [5/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_lbaf = =4)

◆ STATIC_ASSERT() [6/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_self_test_log = =564)

◆ STATIC_ASSERT() [7/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_self_test_result = =28)

◆ STATIC_ASSERT() [8/8]

smartmontools::STATIC_ASSERT ( sizeof(nvme_smart_log = =512)