smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
|
NVMe pass through input parameters. More...
#include <dev_interface.h>
Public Types | |
enum | { no_data = 0x0 , data_out = 0x1 , data_in = 0x2 , data_io = 0x3 } |
Public Member Functions | |
unsigned char | direction () const |
Get I/O direction from opcode. | |
void | set_data_in (unsigned char op, void *buf, unsigned sz) |
nvme_cmd_in () | |
Public Attributes | |
unsigned char | opcode |
Opcode (CDW0 07:00) | |
unsigned | nsid |
Namespace ID. | |
unsigned | cdw10 |
unsigned | cdw11 |
unsigned | cdw12 |
unsigned | cdw13 |
unsigned | cdw14 |
unsigned | cdw15 |
Cmd specific. | |
void * | buffer |
Pointer to data buffer. | |
unsigned | size |
Size of buffer. | |
NVMe pass through input parameters.
Definition at line 655 of file dev_interface.h.
anonymous enum |
Enumerator | |
---|---|
no_data | |
data_out | |
data_in | |
data_io |
Definition at line 664 of file dev_interface.h.
|
inline |
Definition at line 682 of file dev_interface.h.
|
inline |
Get I/O direction from opcode.
Definition at line 669 of file dev_interface.h.
|
inline |
Definition at line 673 of file dev_interface.h.
void* nvme_cmd_in::buffer |
Pointer to data buffer.
Definition at line 661 of file dev_interface.h.
unsigned nvme_cmd_in::cdw10 |
Definition at line 659 of file dev_interface.h.
unsigned nvme_cmd_in::cdw11 |
Definition at line 659 of file dev_interface.h.
unsigned nvme_cmd_in::cdw12 |
Definition at line 659 of file dev_interface.h.
unsigned nvme_cmd_in::cdw13 |
Definition at line 659 of file dev_interface.h.
unsigned nvme_cmd_in::cdw14 |
Definition at line 659 of file dev_interface.h.
unsigned nvme_cmd_in::cdw15 |
Cmd specific.
Definition at line 659 of file dev_interface.h.
unsigned nvme_cmd_in::nsid |
Namespace ID.
Definition at line 658 of file dev_interface.h.
unsigned char nvme_cmd_in::opcode |
Opcode (CDW0 07:00)
Definition at line 657 of file dev_interface.h.
unsigned nvme_cmd_in::size |
Size of buffer.
Definition at line 662 of file dev_interface.h.