Lines Matching refs:attributes
247 HBA_PORTATTRIBUTES attributes;
252 memset(&attributes, 0, sizeof (attributes));
278 attributes.PortFcId = attrs.PortFcId;
279 attributes.PortType = attrs.PortType;
280 attributes.PortState = attrs.PortState;
281 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
282 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
283 attributes.PortSpeed = attrs.PortSpeed;
284 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
285 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
286 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
287 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
288 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
289 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
290 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
291 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
293 strncpy((char *)attributes.OSDeviceName, "Not Applicable", 15);
294 return (attributes);
301 HBA_PORTATTRIBUTES attributes;
306 memset(&attributes, 0, sizeof (attributes));
334 attributes.PortFcId = attrs.PortFcId;
335 attributes.PortType = attrs.PortType;
336 attributes.PortState = attrs.PortState;
337 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
338 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
339 attributes.PortSpeed = attrs.PortSpeed;
340 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
341 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
342 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
343 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
344 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
345 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
346 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
347 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
350 return (attributes);
357 HBA_PORTATTRIBUTES attributes;
362 memset(&attributes, 0, sizeof (attributes));
377 attributes.PortFcId = attrs.PortFcId;
378 attributes.PortType = attrs.PortType;
379 attributes.PortState = attrs.PortState;
380 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
381 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
382 attributes.PortSpeed = attrs.PortSpeed;
383 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
384 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
385 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
386 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
387 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
388 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
389 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
390 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
393 return (attributes);