Lines Matching refs:attrs

464 	HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp);  in FCHBAPort()  local
465 memcpy(&tmp, &attrs.PortWWN, 8); in FCHBAPort()
467 memcpy(&tmp, &attrs.NodeWWN, 8); in FCHBAPort()
558 fc_hba_port_npiv_attributes_t attrs; in getPortNPIVAttributes() local
565 fcio.fcio_olen = sizeof(attrs); in getPortNPIVAttributes()
567 fcio.fcio_obuf = (caddr_t)&attrs; in getPortNPIVAttributes()
571 stateChange = attrs.lastChange; in getPortNPIVAttributes()
572 attributes.npivflag = attrs.npivflag; in getPortNPIVAttributes()
573 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getPortNPIVAttributes()
574 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getPortNPIVAttributes()
575 attributes.MaxNumberOfNPIVPorts = attrs.MaxNumberOfNPIVPorts; in getPortNPIVAttributes()
576 attributes.NumberOfNPIVPorts = attrs.NumberOfNPIVPorts; in getPortNPIVAttributes()
586 fc_hba_port_attributes_t attrs; in getPortAttributes() local
592 fcio.fcio_olen = sizeof (attrs); in getPortAttributes()
594 fcio.fcio_obuf = (caddr_t)&attrs; in getPortAttributes()
598 stateChange = attrs.lastChange; in getPortAttributes()
600 attributes.PortFcId = attrs.PortFcId; in getPortAttributes()
601 attributes.PortType = attrs.PortType; in getPortAttributes()
602 attributes.PortState = attrs.PortState; in getPortAttributes()
603 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService; in getPortAttributes()
604 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed; in getPortAttributes()
605 attributes.PortSpeed = attrs.PortSpeed; in getPortAttributes()
606 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize; in getPortAttributes()
607 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts; in getPortAttributes()
608 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getPortAttributes()
609 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getPortAttributes()
610 memcpy(&attributes.FabricName, &attrs.FabricName, 8); in getPortAttributes()
611 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32); in getPortAttributes()
612 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32); in getPortAttributes()
613 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256); in getPortAttributes()
625 fc_hba_port_attributes_t attrs; in getDiscoveredAttributes() local
631 fcio.fcio_olen = sizeof (attrs); in getDiscoveredAttributes()
633 fcio.fcio_obuf = (caddr_t)&attrs; in getDiscoveredAttributes()
639 stateChange = attrs.lastChange; in getDiscoveredAttributes()
641 attributes.PortFcId = attrs.PortFcId; in getDiscoveredAttributes()
642 attributes.PortType = attrs.PortType; in getDiscoveredAttributes()
643 attributes.PortState = attrs.PortState; in getDiscoveredAttributes()
644 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService; in getDiscoveredAttributes()
645 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed; in getDiscoveredAttributes()
646 attributes.PortSpeed = attrs.PortSpeed; in getDiscoveredAttributes()
647 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize; in getDiscoveredAttributes()
648 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts; in getDiscoveredAttributes()
649 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getDiscoveredAttributes()
650 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getDiscoveredAttributes()
651 memcpy(&attributes.FabricName, &attrs.FabricName, 8); in getDiscoveredAttributes()
652 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32); in getDiscoveredAttributes()
653 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32); in getDiscoveredAttributes()
654 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256); in getDiscoveredAttributes()
666 fc_hba_port_attributes_t attrs; in getDiscoveredAttributes() local
676 fcio.fcio_olen = sizeof (attrs); in getDiscoveredAttributes()
678 fcio.fcio_obuf = (caddr_t)&attrs; in getDiscoveredAttributes()
684 stateChange = attrs.lastChange; in getDiscoveredAttributes()
686 attributes.PortFcId = attrs.PortFcId; in getDiscoveredAttributes()
687 attributes.PortType = attrs.PortType; in getDiscoveredAttributes()
688 attributes.PortState = attrs.PortState; in getDiscoveredAttributes()
689 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService; in getDiscoveredAttributes()
690 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed; in getDiscoveredAttributes()
691 attributes.PortSpeed = attrs.PortSpeed; in getDiscoveredAttributes()
692 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize; in getDiscoveredAttributes()
693 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts; in getDiscoveredAttributes()
694 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getDiscoveredAttributes()
695 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getDiscoveredAttributes()
696 memcpy(&attributes.FabricName, &attrs.FabricName, 8); in getDiscoveredAttributes()
697 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32); in getDiscoveredAttributes()
698 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32); in getDiscoveredAttributes()
699 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256); in getDiscoveredAttributes()
954 HBA_PORTATTRIBUTES attrs; in sendRLS() local
957 attrs = getPortAttributes(tmp); in sendRLS()
959 attrs = getDiscoveredAttributes(destWWN, tmp); in sendRLS()
962 memcpy(&rls_req, &attrs.PortFcId, in sendRLS()
963 sizeof (attrs.PortFcId)); in sendRLS()
1134 HBA_PORTATTRIBUTES attrs = getDiscoveredAttributes(destwwn, in sendRNID() local
1136 if (attrs.PortFcId == destfcid) { in sendRNID()