Lines Matching defs:new_fcport

5819 	fc_port_t	*fcport, *new_fcport;
5832 new_fcport = NULL;
5878 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
5879 if (new_fcport == NULL) {
5885 new_fcport->flags &= ~FCF_FABRIC_DEVICE;
5914 memset(new_fcport->port_name, 0, WWN_SIZE);
5917 new_fcport->d_id.b.domain = domain;
5918 new_fcport->d_id.b.area = area;
5919 new_fcport->d_id.b.al_pa = al_pa;
5920 new_fcport->loop_id = loop_id;
5921 new_fcport->scan_state = QLA_FCPORT_FOUND;
5923 rval2 = qla2x00_get_port_database(vha, new_fcport, 0);
5928 rval2, new_fcport->loop_id);
5943 if (memcmp(new_fcport->port_name, fcport->port_name,
5948 fcport->loop_id = new_fcport->loop_id;
5949 fcport->port_type = new_fcport->port_type;
5950 fcport->d_id.b24 = new_fcport->d_id.b24;
5951 memcpy(fcport->node_name, new_fcport->node_name,
5967 list_add_tail(&new_fcport->list, &vha->vp_fcports);
5970 fcport = new_fcport;
5974 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
5976 if (new_fcport == NULL) {
5983 new_fcport->flags &= ~FCF_FABRIC_DEVICE;
6021 qla2x00_free_fcport(new_fcport);
6429 fc_port_t *fcport, *new_fcport;
6481 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
6482 if (new_fcport == NULL) {
6487 new_fcport->flags |= (FCF_FABRIC_DEVICE | FCF_LOGIN_NEEDED);
6509 wrap.b24 = new_fcport->d_id.b24;
6511 new_fcport->d_id.b24 = swl[swl_idx].d_id.b24;
6512 memcpy(new_fcport->node_name,
6514 memcpy(new_fcport->port_name,
6516 memcpy(new_fcport->fabric_port_name,
6518 new_fcport->fp_speed = swl[swl_idx].fp_speed;
6519 new_fcport->fc4_type = swl[swl_idx].fc4_type;
6521 new_fcport->nvme_flag = 0;
6526 new_fcport->port_name);
6536 rval = qla2x00_ga_nxt(vha, new_fcport);
6548 wrap.b24 = new_fcport->d_id.b24;
6550 } else if (new_fcport->d_id.b24 == wrap.b24) {
6553 new_fcport->d_id.b.domain,
6554 new_fcport->d_id.b.area,
6555 new_fcport->d_id.b.al_pa);
6560 if (new_fcport->d_id.b24 == base_vha->d_id.b24)
6564 if (qla2x00_is_a_vp_did(vha, new_fcport->d_id.b24))
6568 if (((new_fcport->d_id.b24 & 0xffff00) ==
6574 if ((new_fcport->d_id.b.domain & 0xf0) == 0xf0)
6579 (!(new_fcport->fc4_type & FS_FC4TYPE_FCP) &&
6580 new_fcport->fc4_type != 0))
6588 if (memcmp(new_fcport->port_name, fcport->port_name,
6598 new_fcport->fabric_port_name, WWN_SIZE);
6599 fcport->fp_speed = new_fcport->fp_speed;
6605 if (fcport->d_id.b24 == new_fcport->d_id.b24 &&
6618 fcport->d_id.b24 = new_fcport->d_id.b24;
6639 new_fcport->d_id.b.domain,
6640 new_fcport->d_id.b.area,
6641 new_fcport->d_id.b.al_pa);
6642 fcport->d_id.b24 = new_fcport->d_id.b24;
6646 fcport->d_id.b24 = new_fcport->d_id.b24;
6664 new_fcport->scan_state = QLA_FCPORT_FOUND;
6665 list_add_tail(&new_fcport->list, &vha->vp_fcports);
6671 nxt_d_id.b24 = new_fcport->d_id.b24;
6672 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
6673 if (new_fcport == NULL) {
6678 new_fcport->flags |= (FCF_FABRIC_DEVICE | FCF_LOGIN_NEEDED);
6679 new_fcport->d_id.b24 = nxt_d_id.b24;
6682 qla2x00_free_fcport(new_fcport);