smartmontools SVN Rev 5645
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Macros
openbsd_nvme_ioctl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nvme_pt_status
 
struct  bio_msg
 
struct  bio_status
 
struct  bio
 
struct  nvme_pt_cmd
 

Macros

#define NVME_PASSTHROUGH_CMD   _IOWR('n', 0, struct nvme_pt_cmd)
 
#define NVME_CQE_SCT(_f)   ((_f) & (0x07 << 9))
 
#define NVME_CQE_SCT_GENERIC   (0x00 << 9)
 
#define NVME_CQE_SC(_f)   ((_f) & (0xff << 1))
 
#define NVME_CQE_SC_SUCCESS   (0x00 << 1)
 
#define BIO_MSG_COUNT   5
 
#define BIO_MSG_LEN   128
 
#define nvme_completion_is_error(_flags)
 

Macro Definition Documentation

◆ BIO_MSG_COUNT

#define BIO_MSG_COUNT   5

Definition at line 31 of file openbsd_nvme_ioctl.h.

◆ BIO_MSG_LEN

#define BIO_MSG_LEN   128

Definition at line 32 of file openbsd_nvme_ioctl.h.

◆ nvme_completion_is_error

#define nvme_completion_is_error (   _flags)
Value:
#define NVME_CQE_SC(_f)
#define NVME_CQE_SCT_GENERIC
#define NVME_CQE_SC_SUCCESS
#define NVME_CQE_SCT(_f)

Definition at line 72 of file openbsd_nvme_ioctl.h.

◆ NVME_CQE_SC

#define NVME_CQE_SC (   _f)    ((_f) & (0xff << 1))

Definition at line 25 of file openbsd_nvme_ioctl.h.

◆ NVME_CQE_SC_SUCCESS

#define NVME_CQE_SC_SUCCESS   (0x00 << 1)

Definition at line 26 of file openbsd_nvme_ioctl.h.

◆ NVME_CQE_SCT

#define NVME_CQE_SCT (   _f)    ((_f) & (0x07 << 9))

Definition at line 23 of file openbsd_nvme_ioctl.h.

◆ NVME_CQE_SCT_GENERIC

#define NVME_CQE_SCT_GENERIC   (0x00 << 9)

Definition at line 24 of file openbsd_nvme_ioctl.h.

◆ NVME_PASSTHROUGH_CMD

#define NVME_PASSTHROUGH_CMD   _IOWR('n', 0, struct nvme_pt_cmd)

Definition at line 17 of file openbsd_nvme_ioctl.h.