vport_info
struct fun_vport_info *vport_info;
ed->vport_info = kvzalloc_objs(*ed->vport_info, n);
if (!ed->vport_info)
kvfree(ed->vport_info);
ed->vport_info = NULL;
if (!ed->vport_info || vport >= ed->num_vports)
return ed->vport_info + vport;
struct static_vport_info *vport_info;
vport_info = kzalloc_obj(struct static_vport_info);
if (!vport_info) {
vport_buff = (uint8_t *) vport_info;
if ((le32_to_cpu(vport_info->signature) != VPORT_INFO_SIG) ||
((le32_to_cpu(vport_info->rev) & VPORT_INFO_REV_MASK)
le32_to_cpu(vport_info->signature),
le32_to_cpu(vport_info->rev) &
vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn);
vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn);
kfree(vport_info);
struct vport_info cinfo;
int lpfc_vport_getinfo(struct Scsi_Host *, struct vport_info *);