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

Go to the source code of this file.

Classes

struct  _DSKSP_CommandParameters
 
struct  SMART_ParamExt
 

Macros

#define OS_XXXX_H_CVSID   "$Id: os_os2.h 4760 2018-08-19 18:45:53Z chrfranke $\n"
 
#define INCL_DOS
 
#define DSKSP_CAT_SMART   0x80 /* SMART IOCTL category */
 
#define DSKSP_SMART_ONOFF   0x20 /* turn SMART on or off */
 
#define DSKSP_SMART_AUTOSAVE_ONOFF   0x21 /* turn SMART autosave on or off */
 
#define DSKSP_SMART_SAVE   0x22 /* force save of SMART data */
 
#define DSKSP_SMART_GETSTATUS   0x23 /* get SMART status (pass/fail) */
 
#define DSKSP_SMART_GET_ATTRIBUTES   0x24 /* get SMART attributes table */
 
#define DSKSP_SMART_GET_THRESHOLDS   0x25 /* get SMART thresholds table */
 
#define DSKSP_SMART_GET_LOG   0x26 /* get SMART log table */
 
#define DSKSP_SMART_AUTO_OFFLINE   0x27 /* set SMART offline autosave timer */
 
#define DSKSP_SMART_EXEC_OFFLINE   0x28 /* execute SMART immediate offline */
 
#define SMART_CMD_ON   1 /* on value for related SMART functions */
 
#define SMART_CMD_OFF   0 /* off value for related SMART functions */
 
#define DSKSP_CAT_GENERIC   0x90 /* generic IOCTL category */
 
#define DSKSP_GET_INQUIRY_DATA   0x42 /* get ATA/ATAPI inquiry data */
 

Typedefs

typedef struct _DSKSP_CommandParameters DSKSP_CommandParameters
 
typedef struct _DSKSP_CommandParametersPDSKSP_CommandParameters
 

Variables

const char * danisdev ="\\DEV\\IBMS506$"
 
const char * danispref ="hd"
 
const char * ahcidev ="\\DEV\\OS2AHCI$"
 
const char * ahcipref ="ahci"
 

Macro Definition Documentation

◆ DSKSP_CAT_GENERIC

#define DSKSP_CAT_GENERIC   0x90 /* generic IOCTL category */

Definition at line 43 of file os_os2.h.

◆ DSKSP_CAT_SMART

#define DSKSP_CAT_SMART   0x80 /* SMART IOCTL category */

Definition at line 29 of file os_os2.h.

◆ DSKSP_GET_INQUIRY_DATA

#define DSKSP_GET_INQUIRY_DATA   0x42 /* get ATA/ATAPI inquiry data */

Definition at line 44 of file os_os2.h.

◆ DSKSP_SMART_AUTO_OFFLINE

#define DSKSP_SMART_AUTO_OFFLINE   0x27 /* set SMART offline autosave timer */

Definition at line 37 of file os_os2.h.

◆ DSKSP_SMART_AUTOSAVE_ONOFF

#define DSKSP_SMART_AUTOSAVE_ONOFF   0x21 /* turn SMART autosave on or off */

Definition at line 31 of file os_os2.h.

◆ DSKSP_SMART_EXEC_OFFLINE

#define DSKSP_SMART_EXEC_OFFLINE   0x28 /* execute SMART immediate offline */

Definition at line 38 of file os_os2.h.

◆ DSKSP_SMART_GET_ATTRIBUTES

#define DSKSP_SMART_GET_ATTRIBUTES   0x24 /* get SMART attributes table */

Definition at line 34 of file os_os2.h.

◆ DSKSP_SMART_GET_LOG

#define DSKSP_SMART_GET_LOG   0x26 /* get SMART log table */

Definition at line 36 of file os_os2.h.

◆ DSKSP_SMART_GET_THRESHOLDS

#define DSKSP_SMART_GET_THRESHOLDS   0x25 /* get SMART thresholds table */

Definition at line 35 of file os_os2.h.

◆ DSKSP_SMART_GETSTATUS

#define DSKSP_SMART_GETSTATUS   0x23 /* get SMART status (pass/fail) */

Definition at line 33 of file os_os2.h.

◆ DSKSP_SMART_ONOFF

#define DSKSP_SMART_ONOFF   0x20 /* turn SMART on or off */

Definition at line 30 of file os_os2.h.

◆ DSKSP_SMART_SAVE

#define DSKSP_SMART_SAVE   0x22 /* force save of SMART data */

Definition at line 32 of file os_os2.h.

◆ INCL_DOS

#define INCL_DOS

Definition at line 21 of file os_os2.h.

◆ OS_XXXX_H_CVSID

#define OS_XXXX_H_CVSID   "$Id: os_os2.h 4760 2018-08-19 18:45:53Z chrfranke $\n"

Definition at line 14 of file os_os2.h.

◆ SMART_CMD_OFF

#define SMART_CMD_OFF   0 /* off value for related SMART functions */

Definition at line 41 of file os_os2.h.

◆ SMART_CMD_ON

#define SMART_CMD_ON   1 /* on value for related SMART functions */

Definition at line 40 of file os_os2.h.

Typedef Documentation

◆ DSKSP_CommandParameters

◆ PDSKSP_CommandParameters

Variable Documentation

◆ ahcidev

const char* ahcidev ="\\DEV\\OS2AHCI$"

Definition at line 63 of file os_os2.h.

◆ ahcipref

const char* ahcipref ="ahci"

Definition at line 64 of file os_os2.h.

◆ danisdev

const char* danisdev ="\\DEV\\IBMS506$"

Definition at line 61 of file os_os2.h.

◆ danispref

const char* danispref ="hd"

Definition at line 62 of file os_os2.h.