Lines Matching defs:qla_tgt_cmd
863 struct qla_tgt_cmd { struct
867 uint8_t cmd_type;
868 uint8_t pad[7];
869 struct se_cmd se_cmd;
870 struct list_head sess_cmd_list;
871 struct fc_port *sess;
872 struct qla_qpair *qpair;
873 uint32_t reset_count;
874 int state;
875 struct work_struct work;
877 unsigned char sense_buffer[TRANSPORT_SENSE_BUFFER];
879 spinlock_t cmd_lock;
881 unsigned int conf_compl_supported:1;
882 unsigned int sg_mapped:1;
883 unsigned int write_data_transferred:1;
884 unsigned int q_full:1;
885 unsigned int term_exchg:1;
886 unsigned int cmd_sent_to_fw:1;
887 unsigned int cmd_in_wq:1;
888 unsigned int edif:1;
896 unsigned int aborted;
898 struct scatterlist *sg; /* cmd data buffer SG vector */
899 int sg_cnt; /* SG segments count */
900 int bufflen; /* cmd buffer length */
901 int offset;
902 u64 unpacked_lun;
903 enum dma_data_direction dma_data_direction;
905 uint16_t ctio_flags;
906 uint16_t vp_idx;
907 uint16_t loop_id; /* to save extra sess dereferences */
908 struct qla_tgt *tgt; /* to save extra sess dereferences */
909 struct scsi_qla_host *vha;
910 struct list_head cmd_list;
912 struct atio_from_isp atio;
914 uint8_t ctx_dsd_alloced;
921 int8_t dif_err_code;
922 struct scatterlist *prot_sg;
923 uint32_t prot_sg_cnt;
924 uint32_t blk_sz, num_blks;
925 uint8_t scsi_status, sense_key, asc, ascq;
927 struct crc_context *ctx;
928 const uint8_t *cdb;
929 uint64_t lba;
930 uint16_t a_guard, e_guard, a_app_tag, e_app_tag;
931 uint32_t a_ref_tag, e_ref_tag;
933 uint16_t prot_flags;
935 uint64_t jiffies_at_alloc;
936 uint64_t jiffies_at_free;
938 enum trace_flags trc_flags;