Lines Matching defs:compat_sg_io_hdr
70 struct compat_sg_io_hdr { struct
71 compat_int_t interface_id; /* [i] 'S' for SCSI generic (required) */
72 compat_int_t dxfer_direction; /* [i] data transfer direction */
73 unsigned char cmd_len; /* [i] SCSI command length ( <= 16 bytes) */
74 unsigned char mx_sb_len; /* [i] max length to write to sbp */
75 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
76 compat_uint_t dxfer_len; /* [i] byte count of data transfer */
77 compat_uint_t dxferp; /* [i], [*io] points to data transfer memory
79 compat_uptr_t cmdp; /* [i], [*i] points to command to perform */
80 compat_uptr_t sbp; /* [i], [*o] points to sense_buffer memory */
81 compat_uint_t timeout; /* [i] MAX_UINT->no timeout (unit: millisec) */
82 compat_uint_t flags; /* [i] 0 -> default, see SG_FLAG... */
83 compat_int_t pack_id; /* [i->o] unused internally (normally) */
84 compat_uptr_t usr_ptr; /* [i->o] unused internally */
85 unsigned char status; /* [o] scsi status */
86 unsigned char masked_status; /* [o] shifted, masked scsi status */
87 unsigned char msg_status; /* [o] messaging level data (optional) */
88 unsigned char sb_len_wr; /* [o] byte count actually written to sbp */
89 unsigned short host_status; /* [o] errors from host adapter */
90 unsigned short driver_status; /* [o] errors from software driver */
91 compat_int_t resid; /* [o] dxfer_len - actual_transferred */
92 compat_uint_t duration; /* [o] time taken by cmd (unit: millisec) */
93 compat_uint_t info; /* [o] auxiliary information */