smartmontools SVN Rev 5406
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. More... | |
void | set_data_in (unsigned char op, void *buf, unsigned sz) |
nvme_cmd_in () | |
Public Attributes | |
unsigned char | opcode |
Opcode (CDW0 07:00) More... | |
unsigned | nsid |
Namespace ID. More... | |
unsigned | cdw10 |
unsigned | cdw11 |
unsigned | cdw12 |
unsigned | cdw13 |
unsigned | cdw14 |
unsigned | cdw15 |
Cmd specific. More... | |
void * | buffer |
Pointer to data buffer. More... | |
unsigned | size |
Size of buffer. More... | |
NVMe pass through input parameters.
Definition at line 633 of file dev_interface.h.
anonymous enum |
Enumerator | |
---|---|
no_data | |
data_out | |
data_in | |
data_io |
Definition at line 642 of file dev_interface.h.
|
inline |
Definition at line 660 of file dev_interface.h.
|
inline |
Get I/O direction from opcode.
Definition at line 647 of file dev_interface.h.
|
inline |
Definition at line 651 of file dev_interface.h.
void* nvme_cmd_in::buffer |
Pointer to data buffer.
Definition at line 639 of file dev_interface.h.
unsigned nvme_cmd_in::cdw10 |
Definition at line 637 of file dev_interface.h.
unsigned nvme_cmd_in::cdw11 |
Definition at line 637 of file dev_interface.h.
unsigned nvme_cmd_in::cdw12 |
Definition at line 637 of file dev_interface.h.
unsigned nvme_cmd_in::cdw13 |
Definition at line 637 of file dev_interface.h.
unsigned nvme_cmd_in::cdw14 |
Definition at line 637 of file dev_interface.h.
unsigned nvme_cmd_in::cdw15 |
Cmd specific.
Definition at line 637 of file dev_interface.h.
unsigned nvme_cmd_in::nsid |
Namespace ID.
Definition at line 636 of file dev_interface.h.
unsigned char nvme_cmd_in::opcode |
Opcode (CDW0 07:00)
Definition at line 635 of file dev_interface.h.
unsigned nvme_cmd_in::size |
Size of buffer.
Definition at line 640 of file dev_interface.h.