#include <ocs_ioctl.h>
Definition at line 150 of file ocs_ioctl.h.
Data Fields | |
| int | command |
| uint32_t | target_idx |
| uint32_t | dir |
| uint32_t | lun |
| int32_t | tmf |
| uint8_t | cdb [32] |
| uint32_t | cdb_len |
| uint32_t | els_cmd |
| uint32_t | flags |
| uint32_t | queue_depth |
| uint32_t | payload_length |
| uint32_t | dif_payload_length |
| uint32_t | io_count |
| uint32_t | io_timeout |
| uint32_t | directio |
| uint32_t | first_burst:1 |
| uint32_t | first_burst_size |
| int32_t | wait_timeout_usec |
| dif_info_t | dif |
| void * | payload |
| void * | dif_payload |
| uint8_t | scsi_status |
| uint16_t | scsi_status_qualifier |
| void * | sense_data |
| uint32_t | sense_data_length |
| int32_t | residual |
| uint32_t | tag_to_abort |
| int32_t | status |
| uint32_t | data_transferred |
| uint32_t | tag |
| uint32_t | submit_count |
| uint32_t | complete_count |
| uint8_t ocs_ioctl_scsi_cmd_t::cdb[32] |
SCSI CDB
Definition at line 156 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::cdb_len |
SCSI CDB length in bytes
Definition at line 157 of file ocs_ioctl.h.
| int ocs_ioctl_scsi_cmd_t::command |
SCSI command request command
Definition at line 151 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::complete_count |
count of completed IOs
Definition at line 193 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::data_transferred |
updated with data transferred
Definition at line 188 of file ocs_ioctl.h.
| dif_info_t ocs_ioctl_scsi_cmd_t::dif |
Definition at line 174 of file ocs_ioctl.h.
| void* ocs_ioctl_scsi_cmd_t::dif_payload |
pointer to DIF block data if separate
Definition at line 178 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::dif_payload_length |
DIF payload length for command if separate
Definition at line 162 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::dir |
rd or wr
Definition at line 153 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::directio |
If set, DMA to and from user buffers
Definition at line 166 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::els_cmd |
ELS command
Definition at line 158 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::first_burst |
If true send IO writes with first burst
Definition at line 168 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::first_burst_size |
If first burst is enabled, then this size
Definition at line 169 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::flags |
command flags
Definition at line 159 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::io_count |
command count for looping
Definition at line 163 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::io_timeout |
IO timeout in seconds (0 = no timeout)
Definition at line 164 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::lun |
lun value
Definition at line 154 of file ocs_ioctl.h.
| void* ocs_ioctl_scsi_cmd_t::payload |
pointer to user space payload buffer
Definition at line 177 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::payload_length |
payload length for command
Definition at line 161 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::queue_depth |
queue depth for command looping
Definition at line 160 of file ocs_ioctl.h.
| int32_t ocs_ioctl_scsi_cmd_t::residual |
residual
Definition at line 183 of file ocs_ioctl.h.
| uint8_t ocs_ioctl_scsi_cmd_t::scsi_status |
SCSI status
Definition at line 179 of file ocs_ioctl.h.
| uint16_t ocs_ioctl_scsi_cmd_t::scsi_status_qualifier |
SCSI status qualifier
Definition at line 180 of file ocs_ioctl.h.
| void* ocs_ioctl_scsi_cmd_t::sense_data |
pointer to sense data buffer
Definition at line 181 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::sense_data_length |
length of sense data buffer (call=buffer leng, return=data written)
Definition at line 182 of file ocs_ioctl.h.
| int32_t ocs_ioctl_scsi_cmd_t::status |
returned status
Definition at line 187 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::submit_count |
count of submitted IOs
Definition at line 192 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::tag |
returned unique I/O context tag
Definition at line 189 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::tag_to_abort |
tag to abort for an abort task request
Definition at line 184 of file ocs_ioctl.h.
| uint32_t ocs_ioctl_scsi_cmd_t::target_idx |
Target device index
Definition at line 152 of file ocs_ioctl.h.
| int32_t ocs_ioctl_scsi_cmd_t::tmf |
TMF
Definition at line 155 of file ocs_ioctl.h.
| int32_t ocs_ioctl_scsi_cmd_t::wait_timeout_usec |
Wait timeout (usec) for wait, wait_any
Definition at line 171 of file ocs_ioctl.h.