|
smartmontools SVN Rev 5716
Utility to control and monitor storage systems with "S.M.A.R.T."
|
#include <stdbool.h>#include <errno.h>#include <unistd.h>#include <mach/mach.h>#include <mach/mach_error.h>#include <mach/mach_init.h>#include <sys/utsname.h>#include <IOKit/IOCFPlugIn.h>#include <IOKit/IOKitLib.h>#include <IOKit/IOReturn.h>#include <IOKit/IOBSD.h>#include <IOKit/storage/IOBlockStorageDevice.h>#include <IOKit/storage/IOStorageDeviceCharacteristics.h>#include <IOKit/storage/IOMedia.h>#include <IOKit/storage/ata/IOATAStorageDefines.h>#include <IOKit/storage/ata/ATASMARTLib.h>#include <CoreFoundation/CoreFoundation.h>#include "config.h"#include "atacmds.h"#include "scsicmds.h"#include "nvmecmds.h"#include "utility.h"#include "os_darwin.h"#include "dev_interface.h"
Go to the source code of this file.
Classes | |
| class | os::darwin_smart_device |
| Implement shared open/close routines with old functions. More... | |
| class | os::darwin_ata_device |
| Implement standard ATA support. More... | |
| class | os::darwin_smart_interface |
| Implement platform interface. More... | |
| class | os::darwin_nvme_device |
| NVMe support. More... | |
Namespaces | |
| namespace | os |
Macros | |
| #define | ARGUSED(x) ((void)(x)) |
Functions | |
| static bool | os::is_smart_capable (io_object_t dev, const char *type) |
| static int | os::make_device_names (char ***devlist, const char *name) |
| static void | os::free_devnames (char **devnames, int numdevs) |
Variables | |
| const char * | os_darwin_cpp_cvsid |
| static const char | smartctl_examples [] |
| struct { | |
| io_object_t ioob | |
| IOCFPlugInInterface ** plugin | |
| IOATASMARTInterface ** smartIf | |
| IONVMeSMARTInterface ** smartIfNVMe | |
| } | devices [20] |
| const char * | dev_darwin_cpp_cvsid |
| #define ARGUSED | ( | x | ) | ((void)(x)) |
Definition at line 39 of file os_darwin.cpp.
| const char* dev_darwin_cpp_cvsid |
Definition at line 68 of file os_darwin.cpp.
| struct { ... } devices[20] |
| io_object_t ioob |
Definition at line 62 of file os_darwin.cpp.
| const char* os_darwin_cpp_cvsid |
Definition at line 41 of file os_darwin.cpp.
| IOCFPlugInInterface** plugin |
Definition at line 63 of file os_darwin.cpp.
|
static |
Definition at line 45 of file os_darwin.cpp.
| IOATASMARTInterface** smartIf |
Definition at line 64 of file os_darwin.cpp.
| IONVMeSMARTInterface** smartIfNVMe |
Definition at line 65 of file os_darwin.cpp.