Home
last modified time | relevance | path

Searched refs:ISCSIDevPath (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libefivar/
H A Defivar-dp-format.c1670 ISCSI_DEVICE_PATH_WITH_NAME *ISCSIDevPath; in DevPathToTextiSCSI() local
1674 ISCSIDevPath = DevPath; in DevPathToTextiSCSI()
1678 ISCSIDevPath->TargetName, in DevPathToTextiSCSI()
1679 ISCSIDevPath->TargetPortalGroupTag in DevPathToTextiSCSI()
1681 for (Index = 0; Index < sizeof (ISCSIDevPath->Lun) / sizeof (UINT8); Index++) { in DevPathToTextiSCSI()
1682 UefiDevicePathLibCatPrint (Str, "%02x", ((UINT8 *)&ISCSIDevPath->Lun)[Index]); in DevPathToTextiSCSI()
1685 Options = ISCSIDevPath->LoginOption; in DevPathToTextiSCSI()
1696 UefiDevicePathLibCatPrint (Str, "%s)", (ISCSIDevPath->NetworkProtocol == 0) ? "TCP" : "reserved"); in DevPathToTextiSCSI()
H A Defivar-dp-parse.c2725 ISCSI_DEVICE_PATH_WITH_NAME *ISCSIDevPath; in DevPathFromTextiSCSI() local
2735 ISCSIDevPath = (ISCSI_DEVICE_PATH_WITH_NAME *)CreateDeviceNode ( in DevPathFromTextiSCSI()
2741 AsciiStr = ISCSIDevPath->TargetName; in DevPathFromTextiSCSI()
2744 ISCSIDevPath->TargetPortalGroupTag = (UINT16)Strtoi (PortalGroupStr); in DevPathFromTextiSCSI()
2746 WriteUnaligned64 ((UINT64 *)&ISCSIDevPath->Lun, SwapBytes64 (Lun)); in DevPathFromTextiSCSI()
2765 ISCSIDevPath->LoginOption = (UINT16)Options; in DevPathFromTextiSCSI()
2768 ISCSIDevPath->NetworkProtocol = 0; in DevPathFromTextiSCSI()
2773 ISCSIDevPath->NetworkProtocol = 1; in DevPathFromTextiSCSI()
2776 return (EFI_DEVICE_PATH_PROTOCOL *)ISCSIDevPath; in DevPathFromTextiSCSI()