Lines Matching defs:s_id

826 	    "Sending PLOGI ACK to wwn %8phC s_id %02x:%02x:%02x loop_id %#04x"
868 " s_id %02x:%02x:%02x, ref=%d pla %p link %d\n",
961 " s_id %02x:%02x:%02x logout %d keep %d els_logo %d\n",
1330 static int qla24xx_get_loop_id(struct scsi_qla_host *vha, be_id_t s_id,
1361 if (gid->al_pa == s_id.al_pa &&
1362 gid->area == s_id.area &&
1363 gid->domain == s_id.domain) {
1449 "s_id %x:%x:%x, confirmed completion %ssupported) added\n",
1823 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id;
1824 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id;
1896 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.s_id;
1898 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id;
1899 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id;
1966 ctio->initiator_id = entry->fcp_hdr_le.s_id;
2007 static void abort_cmds_for_lun(struct scsi_qla_host *vha, u64 lun, be_id_t s_id)
2014 key = sid_to_key(s_id);
2020 op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
2031 cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id);
2175 be_id_t s_id;
2198 "qla_target(%d): task abort (s_id=%x:%x:%x, "
2199 "tag=%d, param=%x)\n", vha->vp_idx, abts->fcp_hdr_le.s_id.domain,
2200 abts->fcp_hdr_le.s_id.area, abts->fcp_hdr_le.s_id.al_pa, tag,
2203 s_id = le_id_to_be(abts->fcp_hdr_le.s_id);
2206 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id);
2267 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
2324 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
2626 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
3152 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
3704 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
4390 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id);
4394 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, atio->u.isp24.fcp_hdr.s_id);
4398 /* Another WWN used to have our s_id. Our PLOGI scheduled its
4486 abort_cmds_for_lun(vha, lun, a->u.isp24.fcp_hdr.s_id);
4524 a->u.isp24.fcp_hdr.s_id);
4609 " port %8phC loop_id %#04x s_id %02x:%02x:%02x"
4657 * session that has the same s_id/loop_id combo
4664 * Another wwn used to have our s_id/loop_id
4686 /* Same loop_id but different s_id
4695 /* Abort any commands for this s_id waiting on qla_tgt_wq workqueue */
4696 static int abort_cmds_for_s_id(struct scsi_qla_host *vha, port_id_t *s_id)
4704 key = (((u32)s_id->b.domain << 16) |
4705 ((u32)s_id->b.area << 8) |
4706 ((u32)s_id->b.al_pa));
4710 uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
4719 uint32_t cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id);
5400 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id);
5428 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
5494 (vha, atio->u.isp24.fcp_hdr.s_id);
6202 be_id_t s_id)
6209 if (s_id.domain == 0xFF && s_id.area == 0xFC) {
6216 s_id.domain, s_id.area, s_id.al_pa);
6226 rc = qla24xx_get_loop_id(vha, s_id, &loop_id);
6233 vha->vp_idx, s_id.domain, s_id.area, s_id.al_pa);
6238 logo.id = be_to_port_id(s_id);
6277 be_id_t s_id;
6285 s_id = le_id_to_be(prm->abts.fcp_hdr_le.s_id);
6287 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id);
6291 sess = qlt_make_local_sess(vha, s_id);
6821 &pkt->u.isp24.fcp_hdr.s_id,