Lines Matching refs:attrs
231 HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp);
232 memcpy(&tmp, &attrs.PortWWN, 8);
234 memcpy(&tmp, &attrs.NodeWWN, 8);
249 fc_tgt_hba_port_attributes_t attrs;
271 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
272 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
276 stateChange = attrs.lastChange;
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);
303 fc_tgt_hba_port_attributes_t attrs;
325 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
326 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
332 stateChange = attrs.lastChange;
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);
359 fc_tgt_hba_port_attributes_t attrs;
367 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
369 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
375 stateChange = attrs.lastChange;
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);
414 HBA_PORTATTRIBUTES attrs;
425 attrs = getDiscoveredAttributes(destWWN, tmp);
426 DestPortID = (uint64_t)attrs.PortFcId;