|
smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
|
#include <errno.h>#include "atacmds.h"#include "scsicmds.h"#include "utility.h"#include "os_os2.h"#include "config.h"
Go to the source code of this file.
Classes | |
| struct | _IDEREGS |
Defines | |
| #define | STRANGE_BUFFER_LENGTH (4+512*0xf8) |
Typedefs | |
| typedef struct _IDEREGS | IDEREGS |
| typedef struct _IDEREGS * | PIDEREGS |
| typedef struct _IDEREGS * | LPIDEREGS |
Functions | |
| static void | unsupported (int which) |
| void | print_smartctl_examples () |
| static const char * | skipdev (const char *s) |
| int | guess_device_type (const char *dev_name) |
| int | make_device_names (char ***devlist, const char *name) |
| int | deviceopen (const char *pathname, char *type) |
| int | deviceclose (int fd) |
| static void | print_ide_regs (const IDEREGS *r, int out) |
| int | dani_ioctl (int device, int request, void *arg) |
| int | ata_command_interface (int device, smart_command_set command, int select, char *data) |
| int | do_scsi_cmnd_io (int fd, struct scsi_cmnd_io *iop, int report) |
Variables | |
| const char * | os_XXXX_c_cvsid |
| static HFILE | hDevice |
| #define STRANGE_BUFFER_LENGTH (4+512*0xf8) |
Definition at line 357 of file os_os2.cpp.
| int ata_command_interface | ( | int | device, |
| smart_command_set | command, | ||
| int | select, | ||
| char * | data | ||
| ) |
Definition at line 359 of file os_os2.cpp.
| int dani_ioctl | ( | int | device, |
| int | request, | ||
| void * | arg | ||
| ) |
Definition at line 198 of file os_os2.cpp.
| int deviceclose | ( | int | fd | ) |
Definition at line 180 of file os_os2.cpp.
| int deviceopen | ( | const char * | pathname, |
| char * | type | ||
| ) |
Definition at line 154 of file os_os2.cpp.
| int do_scsi_cmnd_io | ( | int | fd, |
| struct scsi_cmnd_io * | iop, | ||
| int | report | ||
| ) |
Definition at line 526 of file os_os2.cpp.
| int guess_device_type | ( | const char * | dev_name | ) |
Definition at line 126 of file os_os2.cpp.
| int make_device_names | ( | char *** | devlist, |
| const char * | name | ||
| ) |
Definition at line 143 of file os_os2.cpp.
| static void print_ide_regs | ( | const IDEREGS * | r, |
| int | out | ||
| ) | [static] |
Definition at line 188 of file os_os2.cpp.
| void print_smartctl_examples | ( | ) |
Definition at line 92 of file os_os2.cpp.
| static const char* skipdev | ( | const char * | s | ) | [static] |
Definition at line 119 of file os_os2.cpp.
| static void unsupported | ( | int | which | ) | [static] |
Definition at line 60 of file os_os2.cpp.
HFILE hDevice [static] |
Definition at line 38 of file os_os2.cpp.
| const char* os_XXXX_c_cvsid |
"$Id: os_os2.cpp 3806 2013-03-29 20:17:03Z chrfranke $" ATACMDS_H_CVSID OS_XXXX_H_CVSID SCSICMDS_H_CVSID UTILITY_H_CVSID
Definition at line 34 of file os_os2.cpp.
1.7.4