smartmontools SVN Rev 5406
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Macros
linux_nvme_ioctl.h File Reference
#include <linux/types.h>
Include dependency graph for linux_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_user_io
 
struct  nvme_passthru_cmd
 

Macros

#define nvme_admin_cmd   nvme_passthru_cmd
 
#define NVME_IOCTL_ID   _IO('N', 0x40)
 
#define NVME_IOCTL_ADMIN_CMD   _IOWR('N', 0x41, struct nvme_admin_cmd)
 
#define NVME_IOCTL_SUBMIT_IO   _IOW('N', 0x42, struct nvme_user_io)
 
#define NVME_IOCTL_IO_CMD   _IOWR('N', 0x43, struct nvme_passthru_cmd)
 
#define NVME_IOCTL_RESET   _IO('N', 0x44)
 
#define NVME_IOCTL_SUBSYS_RESET   _IO('N', 0x45)
 
#define NVME_IOCTL_RESCAN   _IO('N', 0x46)
 

Macro Definition Documentation

◆ nvme_admin_cmd

#define nvme_admin_cmd   nvme_passthru_cmd

Definition at line 48 of file linux_nvme_ioctl.h.

◆ NVME_IOCTL_ADMIN_CMD

#define NVME_IOCTL_ADMIN_CMD   _IOWR('N', 0x41, struct nvme_admin_cmd)

Definition at line 51 of file linux_nvme_ioctl.h.

◆ NVME_IOCTL_ID

#define NVME_IOCTL_ID   _IO('N', 0x40)

Definition at line 50 of file linux_nvme_ioctl.h.

◆ NVME_IOCTL_IO_CMD

#define NVME_IOCTL_IO_CMD   _IOWR('N', 0x43, struct nvme_passthru_cmd)

Definition at line 53 of file linux_nvme_ioctl.h.

◆ NVME_IOCTL_RESCAN

#define NVME_IOCTL_RESCAN   _IO('N', 0x46)

Definition at line 56 of file linux_nvme_ioctl.h.

◆ NVME_IOCTL_RESET

#define NVME_IOCTL_RESET   _IO('N', 0x44)

Definition at line 54 of file linux_nvme_ioctl.h.

◆ NVME_IOCTL_SUBMIT_IO

#define NVME_IOCTL_SUBMIT_IO   _IOW('N', 0x42, struct nvme_user_io)

Definition at line 52 of file linux_nvme_ioctl.h.

◆ NVME_IOCTL_SUBSYS_RESET

#define NVME_IOCTL_SUBSYS_RESET   _IO('N', 0x45)

Definition at line 55 of file linux_nvme_ioctl.h.