• Home
  • Raw
  • Download

Lines Matching refs:fc_port

276 static struct qla_tgt_cmd *tcm_qla2xxx_get_cmd(struct fc_port *sess)  in tcm_qla2xxx_get_cmd()
354 struct fc_port *sess = container_of(kref, in tcm_qla2xxx_release_session()
355 struct fc_port, sess_kref); in tcm_qla2xxx_release_session()
360 static void tcm_qla2xxx_put_sess(struct fc_port *sess) in tcm_qla2xxx_put_sess()
370 struct fc_port *sess = se_sess->fabric_sess_ptr; in tcm_qla2xxx_close_session()
449 struct fc_port *sess; in tcm_qla2xxx_handle_cmd()
588 struct fc_port *sess = mcmd->sess; in tcm_qla2xxx_handle_tmr()
631 static struct qla_tgt_cmd *tcm_qla2xxx_find_cmd_by_tag(struct fc_port *sess, in tcm_qla2xxx_find_cmd_by_tag()
789 struct tcm_qla2xxx_nacl *, struct fc_port *);
793 static void tcm_qla2xxx_clear_nacl_from_fcport_map(struct fc_port *sess) in tcm_qla2xxx_clear_nacl_from_fcport_map()
832 static void tcm_qla2xxx_shutdown_sess(struct fc_port *sess) in tcm_qla2xxx_shutdown_sess()
1182 static struct fc_port *tcm_qla2xxx_find_sess_by_s_id(scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_s_id()
1209 if (!nacl->fc_port) { in tcm_qla2xxx_find_sess_by_s_id()
1214 return nacl->fc_port; in tcm_qla2xxx_find_sess_by_s_id()
1225 struct fc_port *fc_port, in tcm_qla2xxx_set_sess_by_s_id() argument
1249 fc_port->se_sess = se_sess; in tcm_qla2xxx_set_sess_by_s_id()
1250 nacl->fc_port = fc_port; in tcm_qla2xxx_set_sess_by_s_id()
1254 if (nacl->fc_port) { in tcm_qla2xxx_set_sess_by_s_id()
1258 nacl->fc_port = NULL; in tcm_qla2xxx_set_sess_by_s_id()
1263 fc_port->se_sess = se_sess; in tcm_qla2xxx_set_sess_by_s_id()
1264 nacl->fc_port = fc_port; in tcm_qla2xxx_set_sess_by_s_id()
1276 fc_port->se_sess = se_sess; in tcm_qla2xxx_set_sess_by_s_id()
1277 nacl->fc_port = fc_port; in tcm_qla2xxx_set_sess_by_s_id()
1280 nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname); in tcm_qla2xxx_set_sess_by_s_id()
1286 static struct fc_port *tcm_qla2xxx_find_sess_by_loop_id( in tcm_qla2xxx_find_sess_by_loop_id()
1314 if (!nacl->fc_port) { in tcm_qla2xxx_find_sess_by_loop_id()
1319 return nacl->fc_port; in tcm_qla2xxx_find_sess_by_loop_id()
1330 struct fc_port *fc_port, in tcm_qla2xxx_set_sess_by_loop_id() argument
1345 if (fc_port->se_sess != se_sess) in tcm_qla2xxx_set_sess_by_loop_id()
1346 fc_port->se_sess = se_sess; in tcm_qla2xxx_set_sess_by_loop_id()
1347 if (nacl->fc_port != fc_port) in tcm_qla2xxx_set_sess_by_loop_id()
1348 nacl->fc_port = fc_port; in tcm_qla2xxx_set_sess_by_loop_id()
1352 if (nacl->fc_port) { in tcm_qla2xxx_set_sess_by_loop_id()
1356 nacl->fc_port = NULL; in tcm_qla2xxx_set_sess_by_loop_id()
1362 if (fc_port->se_sess != se_sess) in tcm_qla2xxx_set_sess_by_loop_id()
1363 fc_port->se_sess = se_sess; in tcm_qla2xxx_set_sess_by_loop_id()
1364 if (nacl->fc_port != fc_port) in tcm_qla2xxx_set_sess_by_loop_id()
1365 nacl->fc_port = fc_port; in tcm_qla2xxx_set_sess_by_loop_id()
1377 if (fc_port->se_sess != se_sess) in tcm_qla2xxx_set_sess_by_loop_id()
1378 fc_port->se_sess = se_sess; in tcm_qla2xxx_set_sess_by_loop_id()
1379 if (nacl->fc_port != fc_port) in tcm_qla2xxx_set_sess_by_loop_id()
1380 nacl->fc_port = fc_port; in tcm_qla2xxx_set_sess_by_loop_id()
1383 nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname); in tcm_qla2xxx_set_sess_by_loop_id()
1390 struct tcm_qla2xxx_nacl *nacl, struct fc_port *sess) in tcm_qla2xxx_clear_sess_lookup()
1400 static void tcm_qla2xxx_free_session(struct fc_port *sess) in tcm_qla2xxx_free_session()
1436 struct fc_port *qlat_sess = p; in tcm_qla2xxx_session_cb()
1461 struct fc_port *qlat_sess) in tcm_qla2xxx_check_initiator_node_acl()
1505 static void tcm_qla2xxx_update_sess(struct fc_port *sess, port_id_t s_id, in tcm_qla2xxx_update_sess()