Lines Matching refs:attrs

232 	HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp);
233 memcpy(&tmp, &attrs.PortWWN, 8);
235 memcpy(&tmp, &attrs.NodeWWN, 8);
250 fc_tgt_hba_port_attributes_t attrs;
272 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
273 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
277 stateChange = attrs.lastChange;
279 attributes.PortFcId = attrs.PortFcId;
280 attributes.PortType = attrs.PortType;
281 attributes.PortState = attrs.PortState;
282 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
283 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
284 attributes.PortSpeed = attrs.PortSpeed;
285 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
286 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
287 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
288 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
289 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
290 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
291 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
292 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
304 fc_tgt_hba_port_attributes_t attrs;
326 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
327 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
333 stateChange = attrs.lastChange;
335 attributes.PortFcId = attrs.PortFcId;
336 attributes.PortType = attrs.PortType;
337 attributes.PortState = attrs.PortState;
338 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
339 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
340 attributes.PortSpeed = attrs.PortSpeed;
341 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
342 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
343 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
344 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
345 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
346 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
347 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
348 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
360 fc_tgt_hba_port_attributes_t attrs;
368 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
370 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
376 stateChange = attrs.lastChange;
378 attributes.PortFcId = attrs.PortFcId;
379 attributes.PortType = attrs.PortType;
380 attributes.PortState = attrs.PortState;
381 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService;
382 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed;
383 attributes.PortSpeed = attrs.PortSpeed;
384 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize;
385 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts;
386 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
387 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
388 memcpy(&attributes.FabricName, &attrs.FabricName, 8);
389 memcpy(&attributes.PortSupportedFc4Types, &attrs.PortSupportedFc4Types, 32);
390 memcpy(&attributes.PortActiveFc4Types, &attrs.PortActiveFc4Types, 32);
391 memcpy(&attributes.PortSymbolicName, &attrs.PortSymbolicName, 256);
415 HBA_PORTATTRIBUTES attrs;
426 attrs = getDiscoveredAttributes(destWWN, tmp);
427 DestPortID = (uint64_t)attrs.PortFcId;