smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
|
Go to the source code of this file.
Classes | |
struct | TAG_TW_SG_Entry |
struct | TAG_TW_Passthru |
struct | TAG_TW_Ioctl |
struct | TAG_TW_Output |
struct | TAG_TW_Ioctl_Driver_Command_9000 |
struct | TW_Command_9000 |
struct | TAG_TW_Command_Apache |
struct | TAG_TW_Command_Apache_Header |
struct | TAG_TW_Command_Full_9000 |
struct | TAG_TW_Ioctl_Apache |
struct | TW_Command |
struct | TAG_TW_New_Ioctl |
struct | hd_drive_task_hdr |
union | ide_reg_valid_s |
struct | ide_task_request_s |
Macros | |
#define | OS_LINUX_H_CVSID "$Id: os_linux.h 4842 2018-12-02 16:07:26Z chrfranke $\n" |
#define | u32 unsigned int |
#define | TW_OP_ATA_PASSTHRU 0x11 |
#define | MAX(x, y) ( (x)>(y)?(x):(y) ) |
#define | TW_ATA_PASS_SGL_MAX 60 |
#define | TW_IOCTL 0x80 |
#define | TW_ATA_PASSTHRU 0x1e |
#define | TW_IOCTL_FIRMWARE_PASS_THROUGH 0x108 |
#define | TW_MAX_SGL_LENGTH_9000 61 |
#define | TW_MAX_SGL_LENGTH 62 |
#define | TW_CMD_PACKET_WITH_DATA 0x1f |
#define | TASKFILE_NO_DATA 0x0000 |
#define | TASKFILE_IN 0x0001 |
#define | TASKFILE_OUT 0x0004 |
#define | HDIO_DRIVE_TASK_HDR_SIZE 8*sizeof(task_ioreg_t) |
#define | IDE_DRIVE_TASK_NO_DATA 0 |
#define | IDE_DRIVE_TASK_IN 2 |
#define | IDE_DRIVE_TASK_OUT 3 |
#define | HDIO_DRIVE_CMD 0x031f |
#define | HDIO_DRIVE_TASK 0x031e |
#define | HDIO_DRIVE_TASKFILE 0x031d |
#define | HDIO_GET_IDENTITY 0x030d |
#define | HPTIO_CTL 0x03ff |
Typedefs | |
typedef struct TAG_TW_SG_Entry | TW_SG_Entry |
typedef struct TAG_TW_Passthru | TW_Passthru |
typedef struct TAG_TW_Ioctl | TW_Ioctl |
typedef struct TAG_TW_Output | TW_Output |
typedef struct TAG_TW_Ioctl_Driver_Command_9000 | TW_Ioctl_Driver_Command_9000 |
typedef struct TW_Command_9000 | TW_Command_9000 |
typedef struct TAG_TW_Command_Apache | TW_Command_Apache |
typedef struct TAG_TW_Command_Apache_Header | TW_Command_Apache_Header |
typedef struct TAG_TW_Command_Full_9000 | TW_Command_Full_9000 |
typedef struct TAG_TW_Ioctl_Apache | TW_Ioctl_Buf_Apache |
typedef struct TW_Command | TW_Command |
typedef struct TAG_TW_New_Ioctl | TW_New_Ioctl |
typedef unsigned char | task_ioreg_t |
typedef struct hd_drive_task_hdr | task_struct_t |
typedef union ide_reg_valid_s | ide_reg_valid_t |
typedef struct ide_task_request_s | ide_task_request_t |
#define HDIO_DRIVE_CMD 0x031f |
Definition at line 368 of file os_linux.h.
#define HDIO_DRIVE_TASK 0x031e |
Definition at line 369 of file os_linux.h.
#define HDIO_DRIVE_TASK_HDR_SIZE 8*sizeof(task_ioreg_t) |
Definition at line 364 of file os_linux.h.
#define HDIO_DRIVE_TASKFILE 0x031d |
Definition at line 370 of file os_linux.h.
#define HDIO_GET_IDENTITY 0x030d |
Definition at line 371 of file os_linux.h.
#define HPTIO_CTL 0x03ff |
Definition at line 373 of file os_linux.h.
#define IDE_DRIVE_TASK_IN 2 |
Definition at line 366 of file os_linux.h.
#define IDE_DRIVE_TASK_NO_DATA 0 |
Definition at line 365 of file os_linux.h.
#define IDE_DRIVE_TASK_OUT 3 |
Definition at line 367 of file os_linux.h.
#define MAX | ( | x, | |
y | |||
) | ( (x)>(y)?(x):(y) ) |
Definition at line 41 of file os_linux.h.
#define OS_LINUX_H_CVSID "$Id: os_linux.h 4842 2018-12-02 16:07:26Z chrfranke $\n" |
Definition at line 27 of file os_linux.h.
#define TASKFILE_IN 0x0001 |
Definition at line 362 of file os_linux.h.
#define TASKFILE_NO_DATA 0x0000 |
Definition at line 361 of file os_linux.h.
#define TASKFILE_OUT 0x0004 |
Definition at line 363 of file os_linux.h.
#define TW_ATA_PASS_SGL_MAX 60 |
Definition at line 56 of file os_linux.h.
#define TW_ATA_PASSTHRU 0x1e |
Definition at line 86 of file os_linux.h.
#define TW_CMD_PACKET_WITH_DATA 0x1f |
Definition at line 228 of file os_linux.h.
#define TW_IOCTL 0x80 |
Definition at line 85 of file os_linux.h.
#define TW_IOCTL_FIRMWARE_PASS_THROUGH 0x108 |
Definition at line 121 of file os_linux.h.
#define TW_MAX_SGL_LENGTH 62 |
Definition at line 227 of file os_linux.h.
#define TW_MAX_SGL_LENGTH_9000 61 |
Definition at line 122 of file os_linux.h.
#define TW_OP_ATA_PASSTHRU 0x11 |
Definition at line 40 of file os_linux.h.
#define u32 unsigned int |
Definition at line 39 of file os_linux.h.
typedef union ide_reg_valid_s ide_reg_valid_t |
typedef struct ide_task_request_s ide_task_request_t |
typedef unsigned char task_ioreg_t |
Definition at line 315 of file os_linux.h.
typedef struct hd_drive_task_hdr task_struct_t |
typedef struct TW_Command TW_Command |
typedef struct TW_Command_9000 TW_Command_9000 |
typedef struct TAG_TW_Command_Apache TW_Command_Apache |
typedef struct TAG_TW_Command_Apache_Header TW_Command_Apache_Header |
typedef struct TAG_TW_Command_Full_9000 TW_Command_Full_9000 |
typedef struct TAG_TW_Ioctl TW_Ioctl |
typedef struct TAG_TW_Ioctl_Apache TW_Ioctl_Buf_Apache |
typedef struct TAG_TW_Ioctl_Driver_Command_9000 TW_Ioctl_Driver_Command_9000 |
typedef struct TAG_TW_New_Ioctl TW_New_Ioctl |
typedef struct TAG_TW_Output TW_Output |
typedef struct TAG_TW_Passthru TW_Passthru |
typedef struct TAG_TW_SG_Entry TW_SG_Entry |