Home
last modified time | relevance | path

Searched refs:portWWN (Results 1 – 25 of 41) sorted by relevance

12

/titanic_41/usr/src/lib/sun_sas/common/
H A DSun_sasGetPortAttributesByWWN.c33 Sun_sasGetPortAttributesByWWN(HBA_HANDLE handle, HBA_WWN portWWN, in Sun_sasGetPortAttributesByWWN() argument
102 wwnConversion(portWWN.wwn)) { in Sun_sasGetPortAttributesByWWN()
112 wwnConversion(portWWN.wwn), handle); in Sun_sasGetPortAttributesByWWN()
143 wwnConversion(portWWN.wwn)) { in Sun_sasGetPortAttributesByWWN()
168 wwnConversion(portWWN.wwn), handle); in Sun_sasGetPortAttributesByWWN()
178 wwnConversion(portWWN.wwn), in Sun_sasGetPortAttributesByWWN()
184 wwnConversion(portWWN.wwn), handle); in Sun_sasGetPortAttributesByWWN()
H A DSun_sasScsiReportLUNs.c67 Sun_sasScsiReportLUNs(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN targetPortWWN, in Sun_sasScsiReportLUNs() argument
135 != wwnConversion(portWWN.wwn)) { in Sun_sasScsiReportLUNs()
222 "handle %08lx", wwnConversion(portWWN.wwn), handle); in Sun_sasScsiReportLUNs()
H A DSun_sasScsiReadCapacity.c66 Sun_sasScsiReadCapacity(HBA_HANDLE handle, HBA_WWN portWWN, in Sun_sasScsiReadCapacity() argument
142 != wwnConversion(portWWN.wwn)) { in Sun_sasScsiReadCapacity()
250 "handle %08lx", wwnConversion(portWWN.wwn), handle); in Sun_sasScsiReadCapacity()
H A DSun_sasScsiInquiry.c69 Sun_sasScsiInquiry(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN targetPortWWN, in Sun_sasScsiInquiry() argument
154 != wwnConversion(portWWN.wwn)) { in Sun_sasScsiInquiry()
262 "handle %08lx", wwnConversion(portWWN.wwn), handle); in Sun_sasScsiInquiry()
/titanic_41/usr/src/cmd/fcinfo/
H A Dfcadm-list.c423 retrieveNPIVAttrs(HBA_HANDLE handle, HBA_WWN portWWN, in retrieveNPIVAttrs() argument
471 if (memcmp(portWWN.wwn, portattrs.PortWWN.wwn, in retrieveNPIVAttrs()
507 HBA_WWN portWWN, vportWWN; in fc_util_delete_npivport() local
551 memcpy(portWWN.wwn, &physicalportWWN, sizeof (physicalportWWN)); in fc_util_delete_npivport()
556 status = HBA_OpenAdapterByWWN(&handle, portWWN); in fc_util_delete_npivport()
566 if (retrieveNPIVAttrs(handle, portWWN, &npivattrs, &portIndex) == 0) { in fc_util_delete_npivport()
620 HBA_WWN portWWN, vnodeWWN, vportWWN; in fc_util_create_npivport() local
678 memcpy(portWWN.wwn, &physicalportWWN, sizeof (physicalportWWN)); in fc_util_create_npivport()
680 status = HBA_OpenAdapterByWWN(&handle, portWWN); in fc_util_create_npivport()
715 if (retrieveNPIVAttrs(handle, portWWN, &npivattrs, &portIndex) == 0) { in fc_util_create_npivport()
[all …]
H A Dfcoeadm.c107 uint64_t nodeWWN, portWWN; in fcoe_adm_create_port() local
135 sscanf(options->optarg, "%016llx", &portWWN); in fcoe_adm_create_port()
136 portWWN = htonll(portWWN); in fcoe_adm_create_port()
137 memcpy(&pwwn, &portWWN, sizeof (portWWN)); in fcoe_adm_create_port()
H A Dfcinfo-list.c51 static void processRemotePort(HBA_HANDLE handle, HBA_WWN portWWN,
53 static void handleRemotePort(HBA_HANDLE handle, HBA_WWN portWWN,
223 handleRemotePort(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN remotePortWWN, in handleRemotePort() argument
241 status = HBA_ScsiReportLUNsV2(handle, portWWN, remotePortWWN, in handleRemotePort()
433 processRemotePort(HBA_HANDLE handle, HBA_WWN portWWN, in processRemotePort() argument
470 handleRemotePort(handle, portWWN, myremotePortWWN, &discPort); in processRemotePort()
472 printLinkStat(handle, portWWN, myremotePortWWN); in processRemotePort()
475 handleScsiTarget(handle, portWWN, in processRemotePort()
1084 if (memcmp((void *)&(WWNList->portWWN), in searchDevice()
1126 memcpy((void *)&(newWWN->portWWN), in searchDevice()
[all …]
H A Dfcinfo.h107 HBA_WWN portWWN; member
113 HBA_WWN portWWN; member
/titanic_41/usr/src/lib/smhba/common/
H A Dsmhbaapi.h418 HBA_WWN portWWN,
425 HBA_WWN portWWN,
593 HBA_WWN portWWN,
602 HBA_WWN portWWN,
612 HBA_WWN portWWN,
617 HBA_WWN portWWN,
625 HBA_WWN portWWN,
630 HBA_WWN portWWN,
640 HBA_WWN portWWN,
645 HBA_WWN portWWN,
H A DSMHBAAPILIB.c2905 HBA_WWN portWWN, in HBA_SendReportLUNs() argument
2916 DEBUG(2, "HBA_SendReportLUNs to PortWWN: %s", WWN2STR1(&portWWN), 0, 0); in HBA_SendReportLUNs()
2926 vendorHandle, portWWN, pRspBuffer, in HBA_SendReportLUNs()
2973 HBA_WWN portWWN, in HBA_SendReadCapacity() argument
2986 WWN2STR1(&portWWN), 0, 0); in HBA_SendReadCapacity()
2997 (vendorHandle, portWWN, fcLUN, pRspBuffer, in HBA_SendReadCapacity()
3338 HBA_WWN portWWN, in HBA_GetFC4Statistics() argument
3348 DEBUG(2, "HBA_GetFC4Statistics port: %s", WWN2STR1(&portWWN), 0, 0); in HBA_GetFC4Statistics()
3356 (vendorHandle, portWWN, FC4type, pstatistics); in HBA_GetFC4Statistics()
3731 HBA_WWN portWWN, in SMHBA_GetPortAttributesByWWN() argument
[all …]
/titanic_41/usr/src/lib/sun_fc/common/
H A DSun_fcGetFcpTargetMappingV2.cc57 HBA_STATUS Sun_fcGetFcpTargetMappingV2(HBA_HANDLE handle, HBA_WWN portWWN, in Sun_fcGetFcpTargetMappingV2() argument
64 HBAPort *port = hba->getPort(wwnConversion(portWWN.wwn)); in Sun_fcGetFcpTargetMappingV2()
H A DFCHBANPIVPort.h53 { return portWWN; } in getPortWWN()
59 uint64_t portWWN; variable
H A DSun_fcSendCTPassThruV2.cc54 HBA_STATUS Sun_fcSendCTPassThruV2(HBA_HANDLE handle, HBA_WWN portWWN, in Sun_fcSendCTPassThruV2() argument
70 HBAPort *port = hba->getPort(wwnConversion(portWWN.wwn)); in Sun_fcSendCTPassThruV2()
H A DSun_fcScsiReadCapacityV2.cc58 Sun_fcScsiReadCapacityV2(HBA_HANDLE handle, HBA_WWN portWWN, in Sun_fcScsiReadCapacityV2() argument
71 HBAPort *port = hba->getPort(wwnConversion(portWWN.wwn)); in Sun_fcScsiReadCapacityV2()
H A DSun_fcScsiInquiryV2.cc61 Sun_fcScsiInquiryV2(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN targetPortWWN, in Sun_fcScsiInquiryV2() argument
74 HBAPort *port = hba->getPort(wwnConversion(portWWN.wwn)); in Sun_fcScsiInquiryV2()
H A DSun_fcScsiReportLUNsV2.cc56 HBA_STATUS Sun_fcScsiReportLUNsV2(HBA_HANDLE handle, HBA_WWN portWWN, in Sun_fcScsiReportLUNsV2() argument
71 HBAPort *port = hba->getPort(wwnConversion(portWWN.wwn)); in Sun_fcScsiReportLUNsV2()
H A DHandleNPIVPort.cc106 bool HandleNPIVPort::match(uint64_t portWWN) { in match() argument
109 ret = (portWWN == vport->getPortWWN()); in match()
H A DHandlePort.cc98 bool HandlePort::match(uint64_t portWWN) { in match() argument
101 ret = (portWWN == port->getPortWWN()); in match()
H A DTgtFCHBAPort.cc234 portWWN = ntohll(tmp); in TgtFCHBAPort()
417 portWWN = getPortWWN(); in sendRLS()
418 en_portWWN = htonll(portWWN); in sendRLS()
425 if (portWWN != destWWN) { in sendRLS()
H A DTgtFCHBAPort.h53 { return portWWN; } in getPortWWN()
136 uint64_t portWWN; variable
H A DSun_fcRemoveAllPersistentBindings.cc39 HBA_WWN portWWN) { in Sun_fcRemoveAllPersistentBindings() argument
H A DSun_fcGetBindingCapability.cc39 HBA_WWN portWWN, HBA_BIND_CAPABILITY *caps) { in Sun_fcGetBindingCapability() argument
H A DSun_fcGetBindingSupport.cc38 HBA_STATUS Sun_fcGetBindingSupport(HBA_HANDLE hande, HBA_WWN portWWN, in Sun_fcGetBindingSupport() argument
H A DSun_fcGetPersistentBindingV2.cc39 HBA_WWN portWWN, HBA_FCPBINDING2 *binding) { in Sun_fcGetPersistentBindingV2() argument
H A DSun_fcRemovePersistentBinding.cc39 HBA_WWN portWWN, const HBA_FCPBINDING2 *binding) { in Sun_fcRemovePersistentBinding() argument

12