Lines Matching defs:attributes
554 HBA_PORTNPIVATTRIBUTES attributes;
559 memset(&attributes, 0, sizeof(attributes));
569 attributes.npivflag = attrs.npivflag;
570 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
571 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
572 attributes.MaxNumberOfNPIVPorts = attrs.MaxNumberOfNPIVPorts;
573 attributes.NumberOfNPIVPorts = attrs.NumberOfNPIVPorts;
575 return (attributes);
581 HBA_PORTATTRIBUTES attributes;
586 memset(&attributes, 0, sizeof (attributes));
597 attributes.PortFcId = attrs.PortFcId;
598 attributes.PortType = attrs.PortType;
599 attributes.PortState = attrs.PortState;
600 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
601 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
602 attributes.PortSpeed = attrs.PortSpeed;
603 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
604 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
605 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
606 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
607 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
608 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
609 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
610 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
612 strncpy((char *)attributes.OSDeviceName, getPath().c_str(), 256);
613 return (attributes);
620 HBA_PORTATTRIBUTES attributes;
625 memset(&attributes, 0, sizeof (attributes));
638 attributes.PortFcId = attrs.PortFcId;
639 attributes.PortType = attrs.PortType;
640 attributes.PortState = attrs.PortState;
641 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
642 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
643 attributes.PortSpeed = attrs.PortSpeed;
644 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
645 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
646 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
647 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
648 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
649 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
650 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
651 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
654 return (attributes);
661 HBA_PORTATTRIBUTES attributes;
667 memset(&attributes, 0, sizeof (attributes));
683 attributes.PortFcId = attrs.PortFcId;
684 attributes.PortType = attrs.PortType;
685 attributes.PortState = attrs.PortState;
686 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
687 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
688 attributes.PortSpeed = attrs.PortSpeed;
689 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
690 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
691 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
692 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
693 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
694 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
695 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
696 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
699 return (attributes);