Lines Matching defs:qla_tgt_cmd
875 struct qla_tgt_cmd { struct
879 uint8_t cmd_type;
880 uint8_t pad[7];
881 struct se_cmd se_cmd;
882 struct fc_port *sess;
883 struct qla_qpair *qpair;
884 uint32_t reset_count;
885 int state;
886 struct work_struct work;
888 unsigned char sense_buffer[TRANSPORT_SENSE_BUFFER];
890 spinlock_t cmd_lock;
892 unsigned int conf_compl_supported:1;
893 unsigned int sg_mapped:1;
894 unsigned int free_sg:1;
895 unsigned int write_data_transferred:1;
896 unsigned int q_full:1;
897 unsigned int term_exchg:1;
898 unsigned int cmd_sent_to_fw:1;
899 unsigned int cmd_in_wq:1;
900 unsigned int aborted:1;
901 unsigned int data_work:1;
902 unsigned int data_work_free:1;
904 struct scatterlist *sg; /* cmd data buffer SG vector */
905 int sg_cnt; /* SG segments count */
906 int bufflen; /* cmd buffer length */
907 int offset;
908 u64 unpacked_lun;
909 enum dma_data_direction dma_data_direction;
911 uint16_t vp_idx;
912 uint16_t loop_id; /* to save extra sess dereferences */
913 struct qla_tgt *tgt; /* to save extra sess dereferences */
914 struct scsi_qla_host *vha;
915 struct list_head cmd_list;
917 struct atio_from_isp atio;
919 uint8_t ctx_dsd_alloced;
926 int8_t dif_err_code;
927 struct scatterlist *prot_sg;
928 uint32_t prot_sg_cnt;
929 uint32_t blk_sz, num_blks;
930 uint8_t scsi_status, sense_key, asc, ascq;
932 struct crc_context *ctx;
933 uint8_t *cdb;
934 uint64_t lba;
935 uint16_t a_guard, e_guard, a_app_tag, e_app_tag;
936 uint32_t a_ref_tag, e_ref_tag;
938 uint64_t jiffies_at_alloc;
939 uint64_t jiffies_at_free;
941 enum trace_flags trc_flags;