new_vport
struct idpf_vport *new_vport;
new_vport = kzalloc_obj(*vport);
if (!new_vport)
memcpy(new_vport, vport, offsetof(struct idpf_vport, link_up));
new_rsrc = &new_vport->dflt_qv_rsrc;
err = idpf_vport_adjust_qs(new_vport, new_rsrc);
idpf_vport_calc_num_q_desc(new_vport, new_rsrc);
memcpy(vport, new_vport, offsetof(struct idpf_vport, link_up));
kfree(new_vport);
lpfc_unique_wwpn(struct lpfc_hba *phba, struct lpfc_vport *new_vport)
if (vport == new_vport)
&new_vport->fc_sparam.portName,
static struct vport *new_vport(const struct vport_parms *);
vport = new_vport(&parms);
vport = new_vport(&parms);