smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Macros | Variables
freebsd_nvme_ioctl.h File Reference
#include <sys/param.h>
Include dependency graph for freebsd_nvme_ioctl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nvme_command
 
struct  nvme_status
 
struct  nvme_completion
 
struct  nvme_pt_command
 

Macros

#define NVME_PASSTHROUGH_CMD   _IOWR('n', 0, struct nvme_pt_command)
 
#define nvme_completion_is_error(cpl)    ((cpl)->status.sc != 0 || (cpl)->status.sct != 0)
 
#define NVME_CTRLR_PREFIX   "/dev/nvme"
 
#define NVME_NS_PREFIX   "ns"
 

Variables

struct nvme_command __packed
 

Macro Definition Documentation

◆ nvme_completion_is_error

#define nvme_completion_is_error (   cpl)     ((cpl)->status.sc != 0 || (cpl)->status.sct != 0)

Definition at line 152 of file freebsd_nvme_ioctl.h.

◆ NVME_CTRLR_PREFIX

#define NVME_CTRLR_PREFIX   "/dev/nvme"

Definition at line 156 of file freebsd_nvme_ioctl.h.

◆ NVME_NS_PREFIX

#define NVME_NS_PREFIX   "ns"

Definition at line 157 of file freebsd_nvme_ioctl.h.

◆ NVME_PASSTHROUGH_CMD

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

Definition at line 32 of file freebsd_nvme_ioctl.h.

Variable Documentation

◆ __packed