|
smartmontools SVN Rev 5716
Utility to control and monitor storage systems with "S.M.A.R.T."
|
#include <stdint.h>

Go to the source code of this file.
Classes | |
| struct | cmd_pdlist_idx |
| struct | cmd_pdlist_entry |
| struct | cmd_show_pdlist |
| struct | multi_disk_location |
| struct | cmd_scsi_passthrough |
| struct | sssraid_passthru_common_cmd |
| struct | sssraid_ioq_passthru_cmd |
| struct | bsg_ioctl_cmd |
Macros | |
| #define | u8 uint8_t |
| #define | u16 uint16_t |
| #define | u32 uint32_t |
| #define | u64 uint64_t |
| #define | ADM_MAX_DATA_SIZE 0x1000U |
| #define | ADM_SCSI_CDB_MAX_LEN 32 |
| #define | ADM_SCSI_CDB_SENSE_MAX_LEN 96 |
| #define | ADM_SCSI_CDB_SENSE_LEN32 32 |
| #define | ADM_CMD_SHOW_PDLIST 0x502 |
| #define | ADM_CMD_SCSI_PASSTHROUGH 0x51e |
| #define | BSG_APPEND_TIMEOUT_MS 600000 |
| #define | DEFAULT_CONMMAND_TIMEOUT_MS 180000 |
| #define | ADM_BSG_MSGCODE_SCSI_PTHRU 1 |
| #define | ADM_RAID_SET 0xc0 |
| #define | ADM_RAID_WRITE 0xc1 |
| #define | ADM_RAID_READ 0xc2 |
| #define | ADM_RAID_PARAM_WRITE 0xc3 |
| #define | ADM_RAID_READ_FROM_CQE 0xc4 |
| #define | CMD_PDS_MAX_NUM 256U |
| #define | CMD_PDLIST_ONCE_NUM ((ADM_MAX_DATA_SIZE - 64) / sizeof(struct cmd_pdlist_entry)) |
Enumerations | |
| enum | adm_pdlist_intf { ADM_DEVICE_TYPE_SAS = 1 , ADM_DEVICE_TYPE_EXP = 2 , ADM_DEVICE_TYPE_SATA = 8 , ADM_DEVICE_TYPE_PLANE = 9 , ADM_DEVICE_TYPE_NVME = 10 , ADM_DEVICE_TYPE_UNKNOW , ADM_DEVICE_TYPE_BUTT } |
| #define CMD_PDLIST_ONCE_NUM ((ADM_MAX_DATA_SIZE - 64) / sizeof(struct cmd_pdlist_entry)) |
| enum adm_pdlist_intf |