/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 115 *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort); 117 struct atio_from_isp *atio, uint16_t status, int qfull); 248 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_queue_unknown_atio() 266 memcpy(&u->atio, atio, sizeof(*atio)); in qlt_queue_unknown_atio() 279 qlt_send_term_exchange(vha->hw->base_qpair, NULL, atio, ha_locked, 0); in qlt_queue_unknown_atio() 298 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios() 302 host = qlt_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios() 306 qlt_24xx_atio_pkt(host, &u->atio, ha_locke in qlt_try_to_dequeue_unknown_atios() 247 qlt_queue_unknown_atio(scsi_qla_host_t *vha, struct atio_from_isp *atio, uint8_t ha_locked) qlt_queue_unknown_atio() argument 340 qlt_24xx_atio_pkt_all_vps(struct scsi_qla_host *vha, struct atio_from_isp *atio, uint8_t ha_locked) qlt_24xx_atio_pkt_all_vps() argument 2212 struct atio_from_isp *atio = &mcmd->orig_iocb.atio; qlt_24xx_send_task_mgmt_ctio() local 2268 struct atio_from_isp *atio = &cmd->atio; qlt_send_resp_ctio() local 2567 struct atio_from_isp *atio = &prm->cmd->atio; qlt_24xx_build_ctio_pkt() local 3017 struct atio_from_isp *atio = &prm->cmd->atio; qlt_build_ctio_crc2_pkt() local 3617 __qlt_send_term_exchange(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd, struct atio_from_isp *atio) __qlt_send_term_exchange() argument 3677 qlt_send_term_exchange(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort) qlt_send_term_exchange() argument 4101 struct atio_from_isp *atio = &cmd->atio; __qlt_do_work() local 4281 qlt_get_tag(scsi_qla_host_t *vha, struct fc_port *sess, struct atio_from_isp *atio) qlt_get_tag() argument 4314 qlt_handle_cmd_for_atio(struct scsi_qla_host *vha, struct atio_from_isp *atio) qlt_handle_cmd_for_atio() argument 5275 __qlt_send_busy(struct qla_qpair *qpair, struct atio_from_isp *atio, uint16_t status) __qlt_send_busy() argument 5349 qlt_alloc_qfull_cmd(struct scsi_qla_host *vha, struct atio_from_isp *atio, uint16_t status, int qfull) qlt_alloc_qfull_cmd() argument 5506 qlt_send_busy(struct qla_qpair *qpair, struct atio_from_isp *atio, uint16_t status) qlt_send_busy() argument 5518 qlt_chk_qfull_thresh_hold(struct scsi_qla_host *vha, struct qla_qpair *qpair, struct atio_from_isp *atio, uint8_t ha_locked) qlt_chk_qfull_thresh_hold() argument 5538 qlt_24xx_atio_pkt(struct scsi_qla_host *vha, struct atio_from_isp *atio, uint8_t ha_locked) qlt_24xx_atio_pkt() argument 5778 struct atio_from_isp *atio = (struct atio_from_isp *)pkt; qlt_response_pkt() local [all...] |
H A D | qla_target.h | 361 static inline int fcpcmd_is_corrupted(struct atio *atio) in fcpcmd_is_corrupted() argument 363 if (atio->entry_type == ATIO_TYPE7 && in fcpcmd_is_corrupted() 364 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) < in fcpcmd_is_corrupted() 371 /* adjust corrupted atio so we won't trip over the same entry again. */ 372 static inline void adjust_corrupted_atio(struct atio_from_isp *atio) in adjust_corrupted_atio() argument 374 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN); in adjust_corrupted_atio() 375 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio() 378 static inline int get_datalen_for_atio(struct atio_from_isp *atio) in get_datalen_for_atio() argument 380 int len = atio in get_datalen_for_atio() 821 struct atio_from_isp atio; global() member 900 struct atio_from_isp atio; global() member 961 struct atio_from_isp atio; global() member [all...] |
H A D | qla_tmpl.c | 367 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263() 661 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274()
|
H A D | qla_def.h | 1857 struct atio { struct 3639 struct atio_que *atio; member 3803 struct atio *atio_ring; /* Base virtual address */ 3804 struct atio *atio_ring_ptr; /* Current address. */
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 108 *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort); 110 struct atio_from_isp *atio, uint16_t status, int qfull); 224 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_queue_unknown_atio() 242 memcpy(&u->atio, atio, sizeof(*atio)); in qlt_queue_unknown_atio() 255 qlt_send_term_exchange(vha->hw->base_qpair, NULL, atio, ha_locked, 0); in qlt_queue_unknown_atio() 274 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios() 278 host = qla_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios() 282 qlt_24xx_atio_pkt(host, &u->atio, ha_locke in qlt_try_to_dequeue_unknown_atios() 223 qlt_queue_unknown_atio(scsi_qla_host_t *vha, struct atio_from_isp *atio, uint8_t ha_locked) qlt_queue_unknown_atio() argument 316 qlt_24xx_atio_pkt_all_vps(struct scsi_qla_host *vha, struct atio_from_isp *atio, uint8_t ha_locked) qlt_24xx_atio_pkt_all_vps() argument 2234 struct atio_from_isp *atio = &mcmd->orig_iocb.atio; qlt_24xx_send_task_mgmt_ctio() local 2290 struct atio_from_isp *atio = &cmd->atio; qlt_send_resp_ctio() local 2589 struct atio_from_isp *atio = &prm->cmd->atio; qlt_24xx_build_ctio_pkt() local 3049 struct atio_from_isp *atio = &prm->cmd->atio; qlt_build_ctio_crc2_pkt() local 3651 __qlt_send_term_exchange(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd, struct atio_from_isp *atio) __qlt_send_term_exchange() argument 3711 qlt_send_term_exchange(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort) qlt_send_term_exchange() argument 4149 struct atio_from_isp *atio = &cmd->atio; __qlt_do_work() local 4329 qlt_get_tag(scsi_qla_host_t *vha, struct fc_port *sess, struct atio_from_isp *atio) qlt_get_tag() argument 4364 qlt_handle_cmd_for_atio(struct scsi_qla_host *vha, struct atio_from_isp *atio) qlt_handle_cmd_for_atio() argument 5378 __qlt_send_busy(struct qla_qpair *qpair, struct atio_from_isp *atio, uint16_t status) __qlt_send_busy() argument 5452 qlt_alloc_qfull_cmd(struct scsi_qla_host *vha, struct atio_from_isp *atio, uint16_t status, int qfull) qlt_alloc_qfull_cmd() argument 5608 qlt_send_busy(struct qla_qpair *qpair, struct atio_from_isp *atio, uint16_t status) qlt_send_busy() argument 5620 qlt_chk_qfull_thresh_hold(struct scsi_qla_host *vha, struct qla_qpair *qpair, struct atio_from_isp *atio, uint8_t ha_locked) qlt_chk_qfull_thresh_hold() argument 5640 qlt_24xx_atio_pkt(struct scsi_qla_host *vha, struct atio_from_isp *atio, uint8_t ha_locked) qlt_24xx_atio_pkt() argument 5880 struct atio_from_isp *atio = (struct atio_from_isp *)pkt; qlt_response_pkt() local [all...] |
H A D | qla_target.h | 366 static inline int fcpcmd_is_corrupted(struct atio *atio) in fcpcmd_is_corrupted() argument 368 if (atio->entry_type == ATIO_TYPE7 && in fcpcmd_is_corrupted() 369 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) < in fcpcmd_is_corrupted() 376 /* adjust corrupted atio so we won't trip over the same entry again. */ 377 static inline void adjust_corrupted_atio(struct atio_from_isp *atio) in adjust_corrupted_atio() argument 379 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN); in adjust_corrupted_atio() 380 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio() 383 static inline int get_datalen_for_atio(struct atio_from_isp *atio) in get_datalen_for_atio() argument 385 int len = atio in get_datalen_for_atio() 832 struct atio_from_isp atio; global() member 912 struct atio_from_isp atio; global() member 972 struct atio_from_isp atio; global() member [all...] |
H A D | qla_tmpl.c | 367 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263() 666 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274()
|
H A D | qla_def.h | 1973 struct atio { struct 3842 struct atio_que *atio; member 4011 struct atio *atio_ring; /* Base virtual address */ 4012 struct atio *atio_ring_ptr; /* Current address. */
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 7800 struct ccb_accept_tio *atio; in ahc_handle_target_cmd() local 7822 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahc_handle_target_cmd() 7823 if (atio == NULL) { in ahc_handle_target_cmd() 7842 atio->ccb_h.target_id = target; in ahc_handle_target_cmd() 7843 atio->ccb_h.target_lun = lun; in ahc_handle_target_cmd() 7850 atio->sense_len = 0; in ahc_handle_target_cmd() 7851 atio->init_id = initiator; in ahc_handle_target_cmd() 7854 atio->tag_action = *byte++; in ahc_handle_target_cmd() 7855 atio->tag_id = *byte++; in ahc_handle_target_cmd() 7856 atio in ahc_handle_target_cmd() [all...] |
H A D | aic79xx_core.c | 10621 struct ccb_accept_tio *atio; in ahd_handle_target_cmd() local 10643 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahd_handle_target_cmd() 10644 if (atio == NULL) { in ahd_handle_target_cmd() 10662 atio->ccb_h.target_id = target; in ahd_handle_target_cmd() 10663 atio->ccb_h.target_lun = lun; in ahd_handle_target_cmd() 10670 atio->sense_len = 0; in ahd_handle_target_cmd() 10671 atio->init_id = initiator; in ahd_handle_target_cmd() 10674 atio->tag_action = *byte++; in ahd_handle_target_cmd() 10675 atio->tag_id = *byte++; in ahd_handle_target_cmd() 10676 atio in ahd_handle_target_cmd() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 7793 struct ccb_accept_tio *atio; in ahc_handle_target_cmd() local 7815 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahc_handle_target_cmd() 7816 if (atio == NULL) { in ahc_handle_target_cmd() 7835 atio->ccb_h.target_id = target; in ahc_handle_target_cmd() 7836 atio->ccb_h.target_lun = lun; in ahc_handle_target_cmd() 7843 atio->sense_len = 0; in ahc_handle_target_cmd() 7844 atio->init_id = initiator; in ahc_handle_target_cmd() 7847 atio->tag_action = *byte++; in ahc_handle_target_cmd() 7848 atio->tag_id = *byte++; in ahc_handle_target_cmd() 7849 atio in ahc_handle_target_cmd() [all...] |
H A D | aic79xx_core.c | 10616 struct ccb_accept_tio *atio; in ahd_handle_target_cmd() local 10638 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahd_handle_target_cmd() 10639 if (atio == NULL) { in ahd_handle_target_cmd() 10657 atio->ccb_h.target_id = target; in ahd_handle_target_cmd() 10658 atio->ccb_h.target_lun = lun; in ahd_handle_target_cmd() 10665 atio->sense_len = 0; in ahd_handle_target_cmd() 10666 atio->init_id = initiator; in ahd_handle_target_cmd() 10669 atio->tag_action = *byte++; in ahd_handle_target_cmd() 10670 atio->tag_id = *byte++; in ahd_handle_target_cmd() 10671 atio in ahd_handle_target_cmd() [all...] |