Searched refs:ConfigNvData (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiExtScsiPassThru.c | 69 ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData; in IScsiExtScsiPassThruFunction() local 73 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruFunction() 75 if (Target[0] != 0 || (CompareMem (&Lun, ConfigNvData->BootLun, sizeof (UINT64)) != 0)) { in IScsiExtScsiPassThruFunction() 132 ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData; in IScsiExtScsiPassThruGetNextTargetLun() local 136 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruGetNextTargetLun() 138 if ((*Target)[0] == 0 && (CompareMem (Lun, ConfigNvData->BootLun, sizeof (UINT64)) == 0)) { in IScsiExtScsiPassThruGetNextTargetLun() 148 CopyMem (Lun, ConfigNvData->BootLun, sizeof (UINT64)); in IScsiExtScsiPassThruGetNextTargetLun() 194 ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData; in IScsiExtScsiPassThruBuildDevicePath() local 209 ConfigNvData = &Session->ConfigData.NvData; in IScsiExtScsiPassThruBuildDevicePath() 212 if (CompareMem (&Lun, ConfigNvData->BootLun, sizeof (UINT64)) != 0) { in IScsiExtScsiPassThruBuildDevicePath() [all …]
|
D | IScsiDhcp.c | 33 IN OUT ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData in IScsiDhcpExtractRootPath() argument 111 Status = IScsiAsciiStrToIp (Field->Str, &ConfigNvData->TargetIp); in IScsiDhcpExtractRootPath() 128 ConfigNvData->TargetPort = (UINT16) AsciiStrDecimalToUintn (Field->Str); in IScsiDhcpExtractRootPath() 130 ConfigNvData->TargetPort = ISCSI_WELL_KNOWN_PORT; in IScsiDhcpExtractRootPath() 137 Status = IScsiAsciiStrToLun (Field->Str, ConfigNvData->BootLun); in IScsiDhcpExtractRootPath() 142 ZeroMem (ConfigNvData->BootLun, sizeof (ConfigNvData->BootLun)); in IScsiDhcpExtractRootPath() 161 AsciiStrCpyS (ConfigNvData->TargetName, ISCSI_NAME_MAX_SIZE, Field->Str); in IScsiDhcpExtractRootPath()
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiExtScsiPassThru.c | 155 ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData; in IScsiExtScsiPassThruGetNextTargetLun() local 159 ConfigNvData = &Private->Session->ConfigData->SessionConfigData; in IScsiExtScsiPassThruGetNextTargetLun() 161 if ((*Target)[0] == 0 && (CompareMem (Lun, ConfigNvData->BootLun, sizeof (UINT64)) == 0)) { in IScsiExtScsiPassThruGetNextTargetLun() 171 CopyMem (Lun, ConfigNvData->BootLun, sizeof (UINT64)); in IScsiExtScsiPassThruGetNextTargetLun() 217 ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData; in IScsiExtScsiPassThruBuildDevicePath() local 232 ConfigNvData = &Session->ConfigData->SessionConfigData; in IScsiExtScsiPassThruBuildDevicePath() 235 if (CompareMem (&Lun, ConfigNvData->BootLun, sizeof (UINT64)) != 0) { in IScsiExtScsiPassThruBuildDevicePath() 239 DevPathNodeLen = sizeof (ISCSI_DEVICE_PATH) + AsciiStrLen (ConfigNvData->TargetName) + 1; in IScsiExtScsiPassThruBuildDevicePath() 274 CopyMem (&Node->Iscsi.Lun, ConfigNvData->BootLun, sizeof (UINT64)); in IScsiExtScsiPassThruBuildDevicePath() 276 …AR8 *) Node + sizeof (ISCSI_DEVICE_PATH), AsciiStrLen (ConfigNvData->TargetName) + 1, ConfigNvData… in IScsiExtScsiPassThruBuildDevicePath() [all …]
|
D | IScsiDhcp.c | 46 ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData; in IScsiDhcpExtractRootPath() local 50 ConfigNvData = &ConfigData->SessionConfigData; in IScsiDhcpExtractRootPath() 120 if (ConfigNvData->IpMode < IP_MODE_AUTOCONFIG) { in IScsiDhcpExtractRootPath() 121 IpMode = ConfigNvData->IpMode; in IScsiDhcpExtractRootPath() 127 CopyMem (&ConfigNvData->TargetIp, &Ip, sizeof (EFI_IP_ADDRESS)); in IScsiDhcpExtractRootPath() 145 ConfigNvData->TargetPort = (UINT16) AsciiStrDecimalToUintn (Field->Str); in IScsiDhcpExtractRootPath() 147 ConfigNvData->TargetPort = ISCSI_WELL_KNOWN_PORT; in IScsiDhcpExtractRootPath() 154 Status = IScsiAsciiStrToLun (Field->Str, ConfigNvData->BootLun); in IScsiDhcpExtractRootPath() 159 ZeroMem (ConfigNvData->BootLun, sizeof (ConfigNvData->BootLun)); in IScsiDhcpExtractRootPath() 178 AsciiStrCpyS (ConfigNvData->TargetName, ISCSI_NAME_MAX_SIZE, Field->Str); in IScsiDhcpExtractRootPath()
|
D | IScsiDhcp6.c | 48 ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData; in IScsiDhcp6ExtractRootPath() local 52 ConfigNvData = &ConfigData->SessionConfigData; in IScsiDhcp6ExtractRootPath() 147 if (ConfigNvData->IpMode < IP_MODE_AUTOCONFIG) { in IScsiDhcp6ExtractRootPath() 148 IpMode = ConfigNvData->IpMode; in IScsiDhcp6ExtractRootPath() 154 CopyMem (&ConfigNvData->TargetIp, &Ip, sizeof (EFI_IP_ADDRESS)); in IScsiDhcp6ExtractRootPath() 173 ConfigNvData->TargetPort = (UINT16) AsciiStrDecimalToUintn (Field->Str); in IScsiDhcp6ExtractRootPath() 175 ConfigNvData->TargetPort = ISCSI_WELL_KNOWN_PORT; in IScsiDhcp6ExtractRootPath() 182 Status = IScsiAsciiStrToLun (Field->Str, ConfigNvData->BootLun); in IScsiDhcp6ExtractRootPath() 187 ZeroMem (ConfigNvData->BootLun, sizeof (ConfigNvData->BootLun)); in IScsiDhcp6ExtractRootPath() 206 AsciiStrCpyS (ConfigNvData->TargetName, ISCSI_NAME_MAX_SIZE, Field->Str); in IScsiDhcp6ExtractRootPath()
|