Lines Matching refs:attrs

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