Lines Matching refs:vshost
386 struct Scsi_Host *vshost; in bfad_im_vport_create() local
404 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_create()
405 fc_host_node_name(vshost) = wwn_to_u64((u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
406 fc_host_port_name(vshost) = wwn_to_u64((u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
407 fc_host_supported_classes(vshost) = FC_COS_CLASS3; in bfad_im_vport_create()
409 memset(fc_host_supported_fc4s(vshost), 0, in bfad_im_vport_create()
410 sizeof(fc_host_supported_fc4s(vshost))); in bfad_im_vport_create()
414 fc_host_supported_fc4s(vshost)[2] = 1; in bfad_im_vport_create() local
417 fc_host_supported_fc4s(vshost)[7] = 1; in bfad_im_vport_create() local
419 fc_host_supported_speeds(vshost) = in bfad_im_vport_create()
421 fc_host_maxframe_size(vshost) = in bfad_im_vport_create()
485 struct Scsi_Host *vshost; in bfad_im_vport_delete() local
498 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_delete()
499 u64_to_wwn(fc_host_port_name(vshost), (u8 *)&pwwn); in bfad_im_vport_delete()
538 struct Scsi_Host *vshost; in bfad_im_vport_disable() local
544 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_disable()
545 u64_to_wwn(fc_host_port_name(vshost), (u8 *)&pwwn); in bfad_im_vport_disable()
572 struct Scsi_Host *vshost = vport->drv_port.im_port->shost; in bfad_im_vport_set_symbolic_name() local
578 u64_to_wwn(fc_host_port_name(vshost), (u8 *)&pwwn); in bfad_im_vport_set_symbolic_name()