Lines Matching refs:nacl

790 	struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl,
794 pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id);
796 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id);
799 * The nacl no longer matches what we think it should be.
804 btree_insert32(&lport->lport_fcport_map, nacl->nport_id,
809 se_nacl, nacl->nport_wwnn, nacl->nport_id);
819 tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess);
830 struct tcm_qla2xxx_nacl *nacl =
837 nacl->nport_wwnn = wwnn;
838 tcm_qla2xxx_format_wwn(&nacl->nport_name[0], TCM_QLA2XXX_NAMELEN, wwnn);
1127 struct tcm_qla2xxx_nacl *nacl;
1148 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl);
1149 if (!nacl->fc_port) {
1154 return nacl->fc_port;
1163 struct tcm_qla2xxx_nacl *nacl,
1179 nacl->nport_id = key;
1190 nacl->fc_port = fc_port;
1194 if (nacl->fc_port) {
1196 pr_debug("Clearing existing nacl->fc_port and fc_port entry\n");
1198 nacl->fc_port = NULL;
1201 pr_debug("Replacing existing nacl->fc_port and fc_port entry\n");
1204 nacl->fc_port = fc_port;
1214 pr_debug("Replacing existing fc_port entry w/o active nacl->fc_port\n");
1217 nacl->fc_port = fc_port;
1219 pr_debug("Setup nacl->fc_port %p by s_id for se_nacl: %p, initiatorname: %s\n",
1220 nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname);
1232 struct tcm_qla2xxx_nacl *nacl;
1252 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl);
1254 if (!nacl->fc_port) {
1259 return nacl->fc_port;
1268 struct tcm_qla2xxx_nacl *nacl,
1287 if (nacl->fc_port != fc_port)
1288 nacl->fc_port = fc_port;
1292 if (nacl->fc_port) {
1294 pr_debug("Clearing nacl->fc_port and fc_loopid->se_nacl\n");
1296 nacl->fc_port = NULL;
1300 pr_debug("Replacing existing nacl->fc_port and fc_loopid->se_nacl\n");
1304 if (nacl->fc_port != fc_port)
1305 nacl->fc_port = fc_port;
1315 pr_debug("Replacing existing fc_loopid->se_nacl w/o active nacl->fc_port\n");
1319 if (nacl->fc_port != fc_port)
1320 nacl->fc_port = fc_port;
1322 pr_debug("Setup nacl->fc_port %p by loop_id for se_nacl: %p, initiatorname: %s\n",
1323 nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname);
1330 struct tcm_qla2xxx_nacl *nacl, struct fc_port *sess)
1334 tcm_qla2xxx_set_sess_by_s_id(lport, NULL, nacl, se_sess,
1336 tcm_qla2xxx_set_sess_by_loop_id(lport, NULL, nacl, se_sess,
1374 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl,
1385 tcm_qla2xxx_set_sess_by_s_id(lport, se_nacl, nacl, se_sess, qlat_sess,
1387 tcm_qla2xxx_set_sess_by_loop_id(lport, se_nacl, nacl,
1453 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl,
1511 nacl->nport_id = key;