Lines Matching defs:s_id

832 	    "Sending PLOGI ACK to wwn %8phC s_id %02x:%02x:%02x loop_id %#04x"
874 " 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",
1296 static int qla24xx_get_loop_id(struct scsi_qla_host *vha, be_id_t s_id,
1327 if (gid->al_pa == s_id.al_pa &&
1328 gid->area == s_id.area &&
1329 gid->domain == s_id.domain) {
1415 "s_id %x:%x:%x, confirmed completion %ssupported) added\n",
1783 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id;
1784 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id;
1856 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.s_id;
1858 resp->fcp_hdr_le.d_id = abts->fcp_hdr_le.s_id;
1859 resp->fcp_hdr_le.s_id = abts->fcp_hdr_le.d_id;
1926 ctio->initiator_id = entry->fcp_hdr_le.s_id;
1967 static void abort_cmds_for_lun(struct scsi_qla_host *vha, u64 lun, be_id_t s_id)
1974 key = sid_to_key(s_id);
1980 op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
1991 op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
2002 cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id);
2143 be_id_t s_id;
2166 "qla_target(%d): task abort (s_id=%x:%x:%x, "
2167 "tag=%d, param=%x)\n", vha->vp_idx, abts->fcp_hdr_le.s_id.domain,
2168 abts->fcp_hdr_le.s_id.area, abts->fcp_hdr_le.s_id.al_pa, tag,
2171 s_id = le_id_to_be(abts->fcp_hdr_le.s_id);
2174 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id);
2235 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
2292 ctio->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
2593 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
3110 pkt->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
3660 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
4330 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id);
4334 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, atio->u.isp24.fcp_hdr.s_id);
4338 /* Another WWN used to have our s_id. Our PLOGI scheduled its
4427 abort_cmds_for_lun(vha, lun, a->u.isp24.fcp_hdr.s_id);
4465 a->u.isp24.fcp_hdr.s_id);
4550 " port %8phC loop_id %#04x s_id %02x:%02x:%02x"
4598 * session that has the same s_id/loop_id combo
4605 * Another wwn used to have our s_id/loop_id
4627 /* Same loop_id but different s_id
4636 /* Abort any commands for this s_id waiting on qla_tgt_wq workqueue */
4637 static int abort_cmds_for_s_id(struct scsi_qla_host *vha, port_id_t *s_id)
4645 key = (((u32)s_id->b.domain << 16) |
4646 ((u32)s_id->b.area << 8) |
4647 ((u32)s_id->b.al_pa));
4651 uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
4660 uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id);
4669 uint32_t cmd_key = sid_to_key(cmd->atio.u.isp24.fcp_hdr.s_id);
5287 id = be_to_port_id(atio->u.isp24.fcp_hdr.s_id);
5315 ctio24->initiator_id = be_id_to_le(atio->u.isp24.fcp_hdr.s_id);
5381 (vha, atio->u.isp24.fcp_hdr.s_id);
6090 be_id_t s_id)
6097 if (s_id.domain == 0xFF && s_id.area == 0xFC) {
6104 s_id.domain, s_id.area, s_id.al_pa);
6114 rc = qla24xx_get_loop_id(vha, s_id, &loop_id);
6121 vha->vp_idx, s_id.domain, s_id.area, s_id.al_pa);
6126 logo.id = be_to_port_id(s_id);
6165 be_id_t s_id;
6173 s_id = le_id_to_be(prm->abts.fcp_hdr_le.s_id);
6175 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id);
6179 sess = qlt_make_local_sess(vha, s_id);
6227 be_id_t s_id;
6238 s_id = prm->tm_iocb2.u.isp24.fcp_hdr.s_id;
6239 sess = ha->tgt.tgt_ops->find_sess_by_s_id(vha, s_id);
6243 sess = qlt_make_local_sess(vha, s_id);
6774 &pkt->u.isp24.fcp_hdr.s_id,
7237 "Unable to insert s_id into host_map: %06x\n",