|
| STATIC_ASSERT (sizeof(ata_identify_device)==512) |
|
| STATIC_ASSERT (sizeof(ata_smart_attribute)==12) |
|
| STATIC_ASSERT (sizeof(ata_smart_values)==512) |
|
| STATIC_ASSERT (sizeof(ata_smart_threshold_entry)==12) |
|
| STATIC_ASSERT (sizeof(ata_smart_thresholds_pvt)==512) |
|
| STATIC_ASSERT (sizeof(ata_smart_errorlog_error_struct)==30) |
|
| STATIC_ASSERT (sizeof(ata_smart_errorlog_command_struct)==12) |
|
| STATIC_ASSERT (sizeof(ata_smart_errorlog_struct)==90) |
|
| STATIC_ASSERT (sizeof(ata_smart_errorlog)==512) |
|
| STATIC_ASSERT (sizeof(ata_smart_exterrlog_command)==18) |
|
| STATIC_ASSERT (sizeof(ata_smart_exterrlog_error)==34) |
|
| STATIC_ASSERT (sizeof(ata_smart_exterrlog_error_log)==124) |
|
| STATIC_ASSERT (sizeof(ata_smart_exterrlog)==512) |
|
| STATIC_ASSERT (sizeof(ata_smart_selftestlog_struct)==24) |
|
| STATIC_ASSERT (sizeof(ata_smart_selftestlog)==512) |
|
| STATIC_ASSERT (sizeof(ata_smart_extselftestlog_desc)==26) |
|
| STATIC_ASSERT (sizeof(ata_smart_extselftestlog)==512) |
|
| STATIC_ASSERT (sizeof(ata_smart_log_entry)==2) |
|
| STATIC_ASSERT (sizeof(ata_smart_log_directory)==512) |
|
| STATIC_ASSERT (sizeof(test_span)==16) |
|
| STATIC_ASSERT (sizeof(ata_selective_self_test_log)==512) |
|
| STATIC_ASSERT (sizeof(ata_sct_status_response)==512) |
|
| STATIC_ASSERT (sizeof(ata_sct_error_recovery_control_command)==512) |
|
| STATIC_ASSERT (sizeof(ata_sct_feature_control_command)==512) |
|
| STATIC_ASSERT (sizeof(ata_sct_data_table_command)==512) |
|
| STATIC_ASSERT (sizeof(ata_sct_temperature_history_table)==512) |
|
int | ata_read_identity (ata_device *device, ata_identify_device *buf, bool fix_swapped_id, unsigned char *raw_buf=0) |
|
int | ataCheckPowerMode (ata_device *device) |
|
bool | ata_nodata_command (ata_device *device, unsigned char command, int sector_count=-1) |
|
bool | ata_set_features (ata_device *device, unsigned char features, int sector_count=-1) |
|
int | ataReadSmartValues (ata_device *device, struct ata_smart_values *) |
|
int | ataReadSmartThresholds (ata_device *device, struct ata_smart_thresholds_pvt *) |
|
int | ataReadErrorLog (ata_device *device, ata_smart_errorlog *data, firmwarebug_defs firmwarebugs) |
|
int | ataReadSelfTestLog (ata_device *device, ata_smart_selftestlog *data, firmwarebug_defs firmwarebugs) |
|
int | ataReadSelectiveSelfTestLog (ata_device *device, struct ata_selective_self_test_log *data) |
|
int | ataReadLogDirectory (ata_device *device, ata_smart_log_directory *, bool gpl) |
|
bool | ataWriteLogExt (ata_device *device, unsigned char logaddr, unsigned page, void *data, unsigned nsectors) |
|
bool | ataReadLogExt (ata_device *device, unsigned char logaddr, unsigned char features, unsigned page, void *data, unsigned nsectors) |
|
bool | ataReadSmartLog (ata_device *device, unsigned char logaddr, void *data, unsigned nsectors) |
|
bool | ataReadExtErrorLog (ata_device *device, ata_smart_exterrlog *log, unsigned page, unsigned nsectors, firmwarebug_defs firmwarebugs) |
|
bool | ataReadExtSelfTestLog (ata_device *device, ata_smart_extselftestlog *log, unsigned nsectors) |
|
int | ataReadSCTStatus (ata_device *device, ata_sct_status_response *sts) |
|
int | ataReadSCTTempHist (ata_device *device, ata_sct_temperature_history_table *tmh, ata_sct_status_response *sts) |
|
int | ataSetSCTTempInterval (ata_device *device, unsigned interval, bool persistent) |
|
int | ataGetSCTErrorRecoveryControltime (ata_device *device, unsigned type, unsigned short &time_limit, bool power_on) |
|
int | ataSetSCTErrorRecoveryControltime (ata_device *device, unsigned type, unsigned short time_limit, bool power_on, bool mfg_default) |
|
int | ataEnableSmart (ata_device *device) |
|
int | ataDisableSmart (ata_device *device) |
|
int | ataEnableAutoSave (ata_device *device) |
|
int | ataDisableAutoSave (ata_device *device) |
|
int | ataEnableAutoOffline (ata_device *device) |
|
int | ataDisableAutoOffline (ata_device *device) |
|
int | ataSmartTest (ata_device *device, int testtype, bool force, const ata_selective_selftest_args &args, const ata_smart_values *sv, uint64_t num_sectors) |
|
int | ataWriteSelectiveSelfTestLog (ata_device *device, ata_selective_selftest_args &args, const ata_smart_values *sv, uint64_t num_sectors, const ata_selective_selftest_args *prev_spans=0) |
|
int | ata_get_wwn (const ata_identify_device *id, unsigned &oui, uint64_t &unique_id) |
|
int | ata_get_rotation_rate (const ata_identify_device *id) |
|
int | ataDoesSmartWork (ata_device *device) |
|
int | ataSmartSupport (const ata_identify_device *drive) |
|
int | ataGetSetSCTWriteCacheReordering (ata_device *device, bool enable, bool persistent, bool set) |
|
int | ataGetSetSCTWriteCache (ata_device *device, unsigned short state, bool persistent, bool set) |
|
int | ataIsSmartEnabled (const ata_identify_device *drive) |
|
int | ataSmartStatus2 (ata_device *device) |
|
bool | isSmartErrorLogCapable (const ata_smart_values *data, const ata_identify_device *identity) |
|
bool | isSmartTestLogCapable (const ata_smart_values *data, const ata_identify_device *identity) |
|
bool | isGeneralPurposeLoggingCapable (const ata_identify_device *identity) |
|
bool | isSupportExecuteOfflineImmediate (const ata_smart_values *data) |
|
bool | isSupportAutomaticTimer (const ata_smart_values *data) |
|
bool | isSupportOfflineAbort (const ata_smart_values *data) |
|
bool | isSupportOfflineSurfaceScan (const ata_smart_values *data) |
|
bool | isSupportSelfTest (const ata_smart_values *data) |
|
bool | isSupportConveyanceSelfTest (const ata_smart_values *data) |
|
bool | isSupportSelectiveSelfTest (const ata_smart_values *data) |
|
bool | isSCTCapable (const ata_identify_device *drive) |
|
bool | isSCTErrorRecoveryControlCapable (const ata_identify_device *drive) |
|
bool | isSCTFeatureControlCapable (const ata_identify_device *drive) |
|
bool | isSCTDataTableCapable (const ata_identify_device *drive) |
|
int | TestTime (const ata_smart_values *data, int testtype) |
|
ata_attr_state | ata_get_attr_state (const ata_smart_attribute &attr, int attridx, const ata_smart_threshold_entry *thresholds, const ata_vendor_attr_defs &defs, unsigned char *threshval=0) |
|
uint64_t | ata_get_attr_raw_value (const ata_smart_attribute &attr, const ata_vendor_attr_defs &defs) |
|
std::string | ata_format_attr_raw_value (const ata_smart_attribute &attr, const ata_vendor_attr_defs &defs) |
|
std::string | ata_get_smart_attr_name (unsigned char id, const ata_vendor_attr_defs &defs, int rpm=0) |
|
void | checksumwarning (const char *string) |
|
int | ata_find_attr_index (unsigned char id, const ata_smart_values &smartval) |
|
unsigned char | ata_return_temperature_value (const ata_smart_values *data, const ata_vendor_attr_defs &defs) |
|
bool | parse_attribute_def (const char *opt, ata_vendor_attr_defs &defs, ata_vendor_def_prior priority) |
|
unsigned char | get_unc_attr_id (bool offline, const ata_vendor_attr_defs &defs, bool &increase) |
|
std::string | create_vendor_attribute_arg_list () |
|
bool | parse_firmwarebug_def (const char *opt, firmwarebug_defs &firmwarebugs) |
|
const char * | get_valid_firmwarebug_args () |
|
int | smartcommandhandler (ata_device *device, smart_command_set command, int select, char *data) |
|
void | ata_get_size_info (const ata_identify_device *id, ata_size_info &sizes) |
|
void | ata_format_id_string (char *out, const unsigned char *in, int n) |
|
unsigned char | checksum (const void *data) |
|
ata_device * | get_parsed_ata_device (smart_interface *intf, const char *dev_name) |
|