smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Functions | Variables
os_linux Namespace Reference

Classes

class  linux_smart_device
 Shared open/close routines. More...
class  linux_ata_device
 Linux ATA support. More...
struct  linux_ioctl_send_command
class  linux_scsi_device
 Standard SCSI support. More...
class  linux_megaraid_device
 LSI MegaRAID support. More...
class  linux_escalade_device
 CCISS RAID support. More...
class  linux_areca_ata_device
 Areca RAID support. More...
class  linux_areca_scsi_device
class  linux_marvell_device
 Marvell support. More...
class  linux_highpoint_device
 Highpoint RAID support. More...
class  linux_smart_interface
 Linux interface. More...

Functions

static int sg_io_cmnd_io (int dev_fd, struct scsi_cmnd_io *iop, int report, int unknown)
static int sisc_cmnd_io (int dev_fd, struct scsi_cmnd_io *iop, int report)
static int do_normal_scsi_cmnd_io (int dev_fd, struct scsi_cmnd_io *iop, int report)
static int setup_3ware_nodes (const char *nodename, const char *driver_name)
static int find_areca_in_proc ()
static bool read_id (const std::string &path, unsigned short &id)
static bool get_usb_id (const char *name, unsigned short &vendor_id, unsigned short &product_id, unsigned short &version)
static unsigned get_kernel_release ()

Variables

static const char smartctl_examples [] = " on Areca RAID controller)\n"
static int sg_io_state = SG_IO_PRESENT_UNKNOWN

Function Documentation

static int os_linux::do_normal_scsi_cmnd_io ( int  dev_fd,
struct scsi_cmnd_io iop,
int  report 
) [static]

Definition at line 792 of file os_linux.cpp.

static int os_linux::find_areca_in_proc ( ) [static]

Definition at line 1690 of file os_linux.cpp.

static unsigned os_linux::get_kernel_release ( ) [static]

Definition at line 2759 of file os_linux.cpp.

static bool os_linux::get_usb_id ( const char *  name,
unsigned short &  vendor_id,
unsigned short &  product_id,
unsigned short &  version 
) [static]

Definition at line 2370 of file os_linux.cpp.

static bool os_linux::read_id ( const std::string &  path,
unsigned short &  id 
) [static]

Definition at line 2358 of file os_linux.cpp.

static int os_linux::setup_3ware_nodes ( const char *  nodename,
const char *  driver_name 
) [static]

Definition at line 1260 of file os_linux.cpp.

static int os_linux::sg_io_cmnd_io ( int  dev_fd,
struct scsi_cmnd_io iop,
int  report,
int  unknown 
) [static]

Definition at line 519 of file os_linux.cpp.

static int os_linux::sisc_cmnd_io ( int  dev_fd,
struct scsi_cmnd_io iop,
int  report 
) [static]

Definition at line 672 of file os_linux.cpp.


Variable Documentation

int os_linux::sg_io_state = SG_IO_PRESENT_UNKNOWN [static]

Definition at line 513 of file os_linux.cpp.

const char os_linux::smartctl_examples[] = " on Areca RAID controller)\n" [static]

Definition at line 187 of file os_linux.cpp.