#include "config.h"
#include "atacmds.h"
#include "scsicmds.h"
#include "utility.h"
#include "os_qnxnto.h"
#include <errno.h>
Go to the source code of this file.
|
static int | ata_sense_data (void *sdata, int *error, int *key, int *asc, int *ascq) |
|
static int | ata_interpret_sense (struct cam_pass_thru *cpt, void *sense, int *status, int rcount) |
|
static int | ata_pass_thru (int fd, struct cam_pass_thru *pcpt) |
|
void | print_smartctl_examples () |
|
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) |
|
int | ata_command_interface (int fd, smart_command_set command, int select, char *data) |
|
int | do_scsi_cmnd_io (int fd, struct scsi_cmnd_io *iop, int report) |
|
◆ ARGUSED
#define ARGUSED |
( |
|
x | ) |
((void)(x)) |
◆ ata_command_interface()
int ata_command_interface |
( |
int |
fd, |
|
|
smart_command_set |
command, |
|
|
int |
select, |
|
|
char * |
data |
|
) |
| |
◆ ata_interpret_sense()
static int ata_interpret_sense |
( |
struct cam_pass_thru * |
cpt, |
|
|
void * |
sense, |
|
|
int * |
status, |
|
|
int |
rcount |
|
) |
| |
|
static |
◆ ata_pass_thru()
static int ata_pass_thru |
( |
int |
fd, |
|
|
struct cam_pass_thru * |
pcpt |
|
) |
| |
|
static |
◆ ata_sense_data()
static int ata_sense_data |
( |
void * |
sdata, |
|
|
int * |
error, |
|
|
int * |
key, |
|
|
int * |
asc, |
|
|
int * |
ascq |
|
) |
| |
|
static |
◆ deviceclose()
int deviceclose |
( |
int |
fd | ) |
|
◆ deviceopen()
int deviceopen |
( |
const char * |
pathname, |
|
|
char * |
type |
|
) |
| |
◆ do_scsi_cmnd_io()
int do_scsi_cmnd_io |
( |
int |
fd, |
|
|
struct scsi_cmnd_io * |
iop, |
|
|
int |
report |
|
) |
| |
◆ guess_device_type()
int guess_device_type |
( |
const char * |
dev_name | ) |
|
◆ make_device_names()
int make_device_names |
( |
char *** |
devlist, |
|
|
const char * |
name |
|
) |
| |
◆ print_smartctl_examples()
void print_smartctl_examples |
( |
| ) |
|
◆ net_dev_ata_disk
const char* net_dev_ata_disk = "hd" |
|
static |
◆ net_dev_prefix
const char* net_dev_prefix = "/dev/" |
|
static |
◆ os_XXXX_c_cvsid
const char* os_XXXX_c_cvsid |
Initial value:="$Id: os_qnxnto.cpp 4842 2018-12-02 16:07:26Z chrfranke $"
#define OS_QNXNTO_H_CVSID
Definition at line 29 of file os_qnxnto.cpp.