• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/

Lines Matching defs:new_fcport

2635 	fc_port_t	*fcport, *new_fcport;
2645 new_fcport = NULL;
2664 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
2665 if (new_fcport == NULL) {
2669 new_fcport->flags &= ~FCF_FABRIC_DEVICE;
2715 new_fcport->d_id.b.domain = domain;
2716 new_fcport->d_id.b.area = area;
2717 new_fcport->d_id.b.al_pa = al_pa;
2718 new_fcport->loop_id = loop_id;
2719 new_fcport->vp_idx = vha->vp_idx;
2720 rval2 = qla2x00_get_port_database(vha, new_fcport, 0);
2725 vha->host_no, rval2, new_fcport->loop_id));
2736 if (memcmp(new_fcport->port_name, fcport->port_name,
2741 fcport->loop_id = new_fcport->loop_id;
2742 fcport->port_type = new_fcport->port_type;
2743 fcport->d_id.b24 = new_fcport->d_id.b24;
2744 memcpy(fcport->node_name, new_fcport->node_name,
2754 new_fcport->vha = vha;
2755 new_fcport->vp_idx = vha->vp_idx;
2757 list_add_tail(&new_fcport->list, &vha->vp_fcports);
2760 fcport = new_fcport;
2761 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
2762 if (new_fcport == NULL) {
2766 new_fcport->flags &= ~FCF_FABRIC_DEVICE;
2778 kfree(new_fcport);
3114 fc_port_t *fcport, *new_fcport, *fcptemp;
3155 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
3156 if (new_fcport == NULL) {
3160 new_fcport->flags |= (FCF_FABRIC_DEVICE | FCF_LOGIN_NEEDED);
3182 wrap.b24 = new_fcport->d_id.b24;
3184 new_fcport->d_id.b24 = swl[swl_idx].d_id.b24;
3185 memcpy(new_fcport->node_name,
3187 memcpy(new_fcport->port_name,
3189 memcpy(new_fcport->fabric_port_name,
3191 new_fcport->fp_speed = swl[swl_idx].fp_speed;
3192 new_fcport->fc4_type = swl[swl_idx].fc4_type;
3201 rval = qla2x00_ga_nxt(vha, new_fcport);
3218 wrap.b24 = new_fcport->d_id.b24;
3220 } else if (new_fcport->d_id.b24 == wrap.b24) {
3222 vha->host_no, new_fcport->d_id.b.domain,
3223 new_fcport->d_id.b.area, new_fcport->d_id.b.al_pa));
3228 if (new_fcport->d_id.b24 == base_vha->d_id.b24)
3238 if (new_fcport->d_id.b24 == vp->d_id.b24) {
3250 if (((new_fcport->d_id.b24 & 0xffff00) ==
3256 if ((new_fcport->d_id.b.domain & 0xf0) == 0xf0)
3261 (new_fcport->fc4_type != FC4_TYPE_FCP_SCSI &&
3262 new_fcport->fc4_type != FC4_TYPE_UNKNOWN))
3268 if (memcmp(new_fcport->port_name, fcport->port_name,
3276 new_fcport->fabric_port_name, WWN_SIZE);
3277 fcport->fp_speed = new_fcport->fp_speed;
3283 if (fcport->d_id.b24 == new_fcport->d_id.b24 &&
3292 fcport->d_id.b24 = new_fcport->d_id.b24;
3304 fcport->d_id.b24 = new_fcport->d_id.b24;
3322 list_add_tail(&new_fcport->list, new_fcports);
3325 nxt_d_id.b24 = new_fcport->d_id.b24;
3326 new_fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
3327 if (new_fcport == NULL) {
3331 new_fcport->flags |= (FCF_FABRIC_DEVICE | FCF_LOGIN_NEEDED);
3332 new_fcport->d_id.b24 = nxt_d_id.b24;
3336 kfree(new_fcport);