smartmontools  SVN Rev 5304
Utility to control and monitor storage systems with "S.M.A.R.T."
Macros | Functions
os_solaris.h File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for os_solaris.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OS_SOLARIS_H_CVSID   "$Id: os_solaris.h 4760 2018-08-19 18:45:53Z chrfranke $\n"
 
#define smart_enable_auto_save(fd)   smart_auto_save(fd, 0xf1)
 
#define smart_disable_auto_save(fd)   smart_auto_save(fd, 0x00)
 

Functions

int smart_read_data (int fd, void *data)
 
int smart_read_thresholds (int fd, void *data)
 
int smart_read_log (int fd, int s, int count, void *data)
 
int ata_identify (int fd, void *data)
 
int ata_pidentify (int fd, void *data)
 
int smart_enable (int fd)
 
int smart_disable (int fd)
 
int smart_status (int fd)
 
int smart_auto_offline (int fd, int s)
 
int smart_auto_save (int fd, int s)
 
int smart_immediate_offline (int fd, int s)
 
int smart_status_check (int fd)
 

Macro Definition Documentation

◆ OS_SOLARIS_H_CVSID

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

Definition at line 15 of file os_solaris.h.

◆ smart_disable_auto_save

#define smart_disable_auto_save (   fd)    smart_auto_save(fd, 0x00)

Definition at line 44 of file os_solaris.h.

◆ smart_enable_auto_save

#define smart_enable_auto_save (   fd)    smart_auto_save(fd, 0xf1)

Definition at line 43 of file os_solaris.h.

Function Documentation

◆ ata_identify()

int ata_identify ( int  fd,
void *  data 
)

◆ ata_pidentify()

int ata_pidentify ( int  fd,
void *  data 
)

◆ smart_auto_offline()

int smart_auto_offline ( int  fd,
int  s 
)

◆ smart_auto_save()

int smart_auto_save ( int  fd,
int  s 
)

◆ smart_disable()

int smart_disable ( int  fd)

◆ smart_enable()

int smart_enable ( int  fd)

◆ smart_immediate_offline()

int smart_immediate_offline ( int  fd,
int  s 
)

◆ smart_read_data()

int smart_read_data ( int  fd,
void *  data 
)

◆ smart_read_log()

int smart_read_log ( int  fd,
int  s,
int  count,
void *  data 
)

◆ smart_read_thresholds()

int smart_read_thresholds ( int  fd,
void *  data 
)

◆ smart_status()

int smart_status ( int  fd)

◆ smart_status_check()

int smart_status_check ( int  fd)