new_fcport       5037 drivers/scsi/qla2xxx/qla_init.c 	fc_port_t	*fcport, *new_fcport;
new_fcport       5091 drivers/scsi/qla2xxx/qla_init.c 	new_fcport = NULL;
new_fcport       5124 drivers/scsi/qla2xxx/qla_init.c 	new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
new_fcport       5125 drivers/scsi/qla2xxx/qla_init.c 	if (new_fcport == NULL) {
new_fcport       5131 drivers/scsi/qla2xxx/qla_init.c 	new_fcport->flags &= ~FCF_FABRIC_DEVICE;
new_fcport       5160 drivers/scsi/qla2xxx/qla_init.c 		memset(new_fcport->port_name, 0, WWN_SIZE);
new_fcport       5163 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->d_id.b.domain = domain;
new_fcport       5164 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->d_id.b.area = area;
new_fcport       5165 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->d_id.b.al_pa = al_pa;
new_fcport       5166 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->loop_id = loop_id;
new_fcport       5167 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->scan_state = QLA_FCPORT_FOUND;
new_fcport       5169 drivers/scsi/qla2xxx/qla_init.c 		rval2 = qla2x00_get_port_database(vha, new_fcport, 0);
new_fcport       5174 drivers/scsi/qla2xxx/qla_init.c 			    rval2, new_fcport->loop_id);
new_fcport       5189 drivers/scsi/qla2xxx/qla_init.c 			if (memcmp(new_fcport->port_name, fcport->port_name,
new_fcport       5194 drivers/scsi/qla2xxx/qla_init.c 			fcport->loop_id = new_fcport->loop_id;
new_fcport       5195 drivers/scsi/qla2xxx/qla_init.c 			fcport->port_type = new_fcport->port_type;
new_fcport       5196 drivers/scsi/qla2xxx/qla_init.c 			fcport->d_id.b24 = new_fcport->d_id.b24;
new_fcport       5197 drivers/scsi/qla2xxx/qla_init.c 			memcpy(fcport->node_name, new_fcport->node_name,
new_fcport       5206 drivers/scsi/qla2xxx/qla_init.c 			list_add_tail(&new_fcport->list, &vha->vp_fcports);
new_fcport       5209 drivers/scsi/qla2xxx/qla_init.c 			fcport = new_fcport;
new_fcport       5213 drivers/scsi/qla2xxx/qla_init.c 			new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
new_fcport       5215 drivers/scsi/qla2xxx/qla_init.c 			if (new_fcport == NULL) {
new_fcport       5222 drivers/scsi/qla2xxx/qla_init.c 			new_fcport->flags &= ~FCF_FABRIC_DEVICE;
new_fcport       5263 drivers/scsi/qla2xxx/qla_init.c 	kfree(new_fcport);
new_fcport       5650 drivers/scsi/qla2xxx/qla_init.c 	fc_port_t	*fcport, *new_fcport;
new_fcport       5702 drivers/scsi/qla2xxx/qla_init.c 	new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
new_fcport       5703 drivers/scsi/qla2xxx/qla_init.c 	if (new_fcport == NULL) {
new_fcport       5708 drivers/scsi/qla2xxx/qla_init.c 	new_fcport->flags |= (FCF_FABRIC_DEVICE | FCF_LOGIN_NEEDED);
new_fcport       5730 drivers/scsi/qla2xxx/qla_init.c 				wrap.b24 = new_fcport->d_id.b24;
new_fcport       5732 drivers/scsi/qla2xxx/qla_init.c 				new_fcport->d_id.b24 = swl[swl_idx].d_id.b24;
new_fcport       5733 drivers/scsi/qla2xxx/qla_init.c 				memcpy(new_fcport->node_name,
new_fcport       5735 drivers/scsi/qla2xxx/qla_init.c 				memcpy(new_fcport->port_name,
new_fcport       5737 drivers/scsi/qla2xxx/qla_init.c 				memcpy(new_fcport->fabric_port_name,
new_fcport       5739 drivers/scsi/qla2xxx/qla_init.c 				new_fcport->fp_speed = swl[swl_idx].fp_speed;
new_fcport       5740 drivers/scsi/qla2xxx/qla_init.c 				new_fcport->fc4_type = swl[swl_idx].fc4_type;
new_fcport       5742 drivers/scsi/qla2xxx/qla_init.c 				new_fcport->nvme_flag = 0;
new_fcport       5743 drivers/scsi/qla2xxx/qla_init.c 				new_fcport->fc4f_nvme = 0;
new_fcport       5746 drivers/scsi/qla2xxx/qla_init.c 					new_fcport->fc4f_nvme =
new_fcport       5750 drivers/scsi/qla2xxx/qla_init.c 					    new_fcport->port_name);
new_fcport       5760 drivers/scsi/qla2xxx/qla_init.c 			rval = qla2x00_ga_nxt(vha, new_fcport);
new_fcport       5772 drivers/scsi/qla2xxx/qla_init.c 			wrap.b24 = new_fcport->d_id.b24;
new_fcport       5774 drivers/scsi/qla2xxx/qla_init.c 		} else if (new_fcport->d_id.b24 == wrap.b24) {
new_fcport       5777 drivers/scsi/qla2xxx/qla_init.c 			    new_fcport->d_id.b.domain,
new_fcport       5778 drivers/scsi/qla2xxx/qla_init.c 			    new_fcport->d_id.b.area,
new_fcport       5779 drivers/scsi/qla2xxx/qla_init.c 			    new_fcport->d_id.b.al_pa);
new_fcport       5784 drivers/scsi/qla2xxx/qla_init.c 		if (new_fcport->d_id.b24 == base_vha->d_id.b24)
new_fcport       5788 drivers/scsi/qla2xxx/qla_init.c 		if (qla2x00_is_a_vp_did(vha, new_fcport->d_id.b24))
new_fcport       5792 drivers/scsi/qla2xxx/qla_init.c 		if (((new_fcport->d_id.b24 & 0xffff00) ==
new_fcport       5798 drivers/scsi/qla2xxx/qla_init.c 		if ((new_fcport->d_id.b.domain & 0xf0) == 0xf0)
new_fcport       5803 drivers/scsi/qla2xxx/qla_init.c 		    (new_fcport->fc4_type != FC4_TYPE_FCP_SCSI &&
new_fcport       5804 drivers/scsi/qla2xxx/qla_init.c 		    new_fcport->fc4_type != FC4_TYPE_UNKNOWN))
new_fcport       5812 drivers/scsi/qla2xxx/qla_init.c 			if (memcmp(new_fcport->port_name, fcport->port_name,
new_fcport       5822 drivers/scsi/qla2xxx/qla_init.c 			    new_fcport->fabric_port_name, WWN_SIZE);
new_fcport       5823 drivers/scsi/qla2xxx/qla_init.c 			fcport->fp_speed = new_fcport->fp_speed;
new_fcport       5829 drivers/scsi/qla2xxx/qla_init.c 			if (fcport->d_id.b24 == new_fcport->d_id.b24 &&
new_fcport       5839 drivers/scsi/qla2xxx/qla_init.c 				fcport->d_id.b24 = new_fcport->d_id.b24;
new_fcport       5860 drivers/scsi/qla2xxx/qla_init.c 					 new_fcport->d_id.b.domain,
new_fcport       5861 drivers/scsi/qla2xxx/qla_init.c 					 new_fcport->d_id.b.area,
new_fcport       5862 drivers/scsi/qla2xxx/qla_init.c 					 new_fcport->d_id.b.al_pa);
new_fcport       5863 drivers/scsi/qla2xxx/qla_init.c 				fcport->d_id.b24 = new_fcport->d_id.b24;
new_fcport       5867 drivers/scsi/qla2xxx/qla_init.c 			fcport->d_id.b24 = new_fcport->d_id.b24;
new_fcport       5885 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->scan_state = QLA_FCPORT_FOUND;
new_fcport       5886 drivers/scsi/qla2xxx/qla_init.c 		list_add_tail(&new_fcport->list, &vha->vp_fcports);
new_fcport       5892 drivers/scsi/qla2xxx/qla_init.c 		nxt_d_id.b24 = new_fcport->d_id.b24;
new_fcport       5893 drivers/scsi/qla2xxx/qla_init.c 		new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
new_fcport       5894 drivers/scsi/qla2xxx/qla_init.c 		if (new_fcport == NULL) {
new_fcport       5899 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->flags |= (FCF_FABRIC_DEVICE | FCF_LOGIN_NEEDED);
new_fcport       5900 drivers/scsi/qla2xxx/qla_init.c 		new_fcport->d_id.b24 = nxt_d_id.b24;
new_fcport       5903 drivers/scsi/qla2xxx/qla_init.c 	qla2x00_free_fcport(new_fcport);
new_fcport       1124 drivers/scsi/qla2xxx/qla_mr.c 	fc_port_t	*fcport, *new_fcport;
new_fcport       1146 drivers/scsi/qla2xxx/qla_mr.c 	new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
new_fcport       1147 drivers/scsi/qla2xxx/qla_mr.c 	if (new_fcport == NULL)
new_fcport       1154 drivers/scsi/qla2xxx/qla_mr.c 		new_fcport->tgt_id = tgt_id;
new_fcport       1155 drivers/scsi/qla2xxx/qla_mr.c 		rval = qlafx00_fx_disc(vha, new_fcport,
new_fcport       1167 drivers/scsi/qla2xxx/qla_mr.c 			if (memcmp(new_fcport->port_name,
new_fcport       1177 drivers/scsi/qla2xxx/qla_mr.c 			if (fcport->tgt_id == new_fcport->tgt_id &&
new_fcport       1196 drivers/scsi/qla2xxx/qla_mr.c 			    "wwpn = %llx.\n", __func__, new_fcport->tgt_id,
new_fcport       1198 drivers/scsi/qla2xxx/qla_mr.c 			    wwn_to_u64(new_fcport->node_name),
new_fcport       1200 drivers/scsi/qla2xxx/qla_mr.c 			    wwn_to_u64(new_fcport->port_name));
new_fcport       1204 drivers/scsi/qla2xxx/qla_mr.c 				fcport->tgt_id = new_fcport->tgt_id;
new_fcport       1215 drivers/scsi/qla2xxx/qla_mr.c 				kfree(new_fcport);
new_fcport       1225 drivers/scsi/qla2xxx/qla_mr.c 		list_add_tail(&new_fcport->list, new_fcports);
new_fcport       1228 drivers/scsi/qla2xxx/qla_mr.c 		new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
new_fcport       1229 drivers/scsi/qla2xxx/qla_mr.c 		if (new_fcport == NULL)
new_fcport       1233 drivers/scsi/qla2xxx/qla_mr.c 	kfree(new_fcport);