Home
last modified time | relevance | path

Searched refs:Selector (Results 1 – 25 of 67) sorted by relevance

123

/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DForEach.c38 EFI_IPSEC_CONFIG_SELECTOR *Selector; in ForeachPolicyEntry() local
46 Selector = AllocateZeroPool (SelectorSize); in ForeachPolicyEntry()
56 Selector in ForeachPolicyEntry()
59 gBS->FreePool (Selector); in ForeachPolicyEntry()
60 Selector = FirstGetNext ? AllocateZeroPool (SelectorSize) : AllocatePool (SelectorSize); in ForeachPolicyEntry()
66 Selector in ForeachPolicyEntry()
79 Selector, in ForeachPolicyEntry()
92 Selector, in ForeachPolicyEntry()
100 if (EFI_ERROR (Routine (Selector, Data, Context))) { in ForeachPolicyEntry()
109 if (Selector != NULL) { in ForeachPolicyEntry()
[all …]
DDump.c183 IN EFI_IPSEC_SPD_SELECTOR *Selector in DumpSpdSelector() argument
189 for (Index = 0; Index < Selector->LocalAddressCount; Index++) { in DumpSpdSelector()
194 DumpAddressInfo (&Selector->LocalAddress[Index]); in DumpSpdSelector()
203 for (Index = 0; Index < Selector->RemoteAddressCount; Index++) { in DumpSpdSelector()
208 DumpAddressInfo (&Selector->RemoteAddress[Index]); in DumpSpdSelector()
211 Str = MapIntegerToString (Selector->NextLayerProtocol, mMapIpProtocol); in DumpSpdSelector()
215 Print (L" proto:%d", (UINTN) Selector->NextLayerProtocol); in DumpSpdSelector()
218 …if ((Selector->NextLayerProtocol == EFI_IP4_PROTO_TCP) || (Selector->NextLayerProtocol == EFI_IP4_… in DumpSpdSelector()
220 if (Selector->LocalPort != EFI_IPSEC_ANY_PORT) { in DumpSpdSelector()
221 Print (L"%d", Selector->LocalPort); in DumpSpdSelector()
[all …]
DPolicyEntryOperation.c36 OUT EFI_IPSEC_SPD_SELECTOR *Selector, in CreateSpdSelector() argument
53 Selector->LocalAddressCount = 1; in CreateSpdSelector()
54 Status = EfiInetAddrRange ((CHAR16 *) ValueStr, Selector->LocalAddress); in CreateSpdSelector()
77 Selector->RemoteAddressCount = 1; in CreateSpdSelector()
78 Status = EfiInetAddrRange ((CHAR16 *) ValueStr, Selector->RemoteAddress); in CreateSpdSelector()
96 Selector->NextLayerProtocol = EFI_IPSEC_ANY_PROTOCOL; in CreateSpdSelector()
104 &Selector->NextLayerProtocol, in CreateSpdSelector()
118 Selector->LocalPort = EFI_IPSEC_ANY_PORT; in CreateSpdSelector()
119 Selector->RemotePort = EFI_IPSEC_ANY_PORT; in CreateSpdSelector()
126 … Status = EfiInetPortRange ((CHAR16 *) ValueStr, &Selector->LocalPort, &Selector->LocalPortRange); in CreateSpdSelector()
[all …]
DDelete.c34 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in DeletePolicyEntry() argument
39 if (mMatchPolicyEntry[Context->DataType] (Selector, Data, &Context->Indexer)) { in DeletePolicyEntry()
43 Selector, in DeletePolicyEntry()
DPolicyEntryOperation.h61 EFI_IPSEC_CONFIG_SELECTOR *Selector; // Data to be inserted. member
70 EFI_IPSEC_CONFIG_SELECTOR *Selector; // Data to be inserted. member
93 OUT EFI_IPSEC_CONFIG_SELECTOR **Selector,
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecConfigImpl.h57 EFI_IPSEC_CONFIG_SELECTOR *Selector; member
131 IN EFI_IPSEC_CONFIG_SELECTOR *Selector
144 IN EFI_IPSEC_CONFIG_SELECTOR *Selector,
168 IN EFI_IPSEC_CONFIG_SELECTOR *Selector,
200 IN EFI_IPSEC_CONFIG_SELECTOR *Selector,
226 IN EFI_IPSEC_CONFIG_SELECTOR *Selector,
409 IN EFI_IPSEC_CONFIG_SELECTOR *Selector
423 IN EFI_IPSEC_CONFIG_SELECTOR *Selector
437 IN EFI_IPSEC_CONFIG_SELECTOR *Selector
522 IN EFI_IPSEC_SPD_SELECTOR *Selector,
[all …]
DIpSecConfigImpl.c560 IN EFI_IPSEC_CONFIG_SELECTOR *Selector in IsZeroSpdSelector() argument
566 SpdSel = &Selector->SpdSelector; in IsZeroSpdSelector()
587 IN EFI_IPSEC_CONFIG_SELECTOR *Selector in IsZeroSaId() argument
597 if (CompareMem (&ZeroSelector, Selector, sizeof (EFI_IPSEC_CONFIG_SELECTOR)) == 0) { in IsZeroSaId()
615 IN EFI_IPSEC_CONFIG_SELECTOR *Selector in IsZeroPadId() argument
622 PadId = &Selector->PadId; in IsZeroPadId()
798 IN EFI_IPSEC_SPD_SELECTOR *Selector, in FixSpdEntry() argument
806 FIX_REF_BUF_ADDR (Selector->LocalAddress, Selector); in FixSpdEntry()
807 FIX_REF_BUF_ADDR (Selector->RemoteAddress, Selector); in FixSpdEntry()
904 IN OUT EFI_IPSEC_SPD_SELECTOR *Selector, in UnfixSpdEntry() argument
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/
DVirtio10.c406 UINT32 Selector; in Virtio10GetDeviceFeatures() local
411 for (Selector = 0; Selector < 2; ++Selector) { in Virtio10GetDeviceFeatures()
419 sizeof Selector, &Selector); in Virtio10GetDeviceFeatures()
429 sizeof Features32[Selector], &Features32[Selector]); in Virtio10GetDeviceFeatures()
449 UINT32 Selector; in Virtio10SetGuestFeatures() local
457 for (Selector = 0; Selector < 2; ++Selector) { in Virtio10SetGuestFeatures()
465 sizeof Selector, &Selector); in Virtio10SetGuestFeatures()
475 sizeof Features32[Selector], &Features32[Selector]); in Virtio10SetGuestFeatures()
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/Ia32/
DSecEntry.S250 .equ NULL_SEL, . - GDT_BASE # Selector [0]
257 .equ LINEAR_SEL, . - GDT_BASE # Selector [0x8]
267 .equ LINEAR_CODE_SEL, . - GDT_BASE # Selector [0x10]
277 .equ SYS_DATA_SEL, . - GDT_BASE # Selector [0x18]
288 .equ SYS_CODE_SEL, . - GDT_BASE # Selector [0x20]
298 .equ SYS16_CODE_SEL, . - GDT_BASE # Selector [0x28]
308 .equ SYS16_DATA_SEL, . - GDT_BASE # Selector [0x30]
319 .equ SPARE5_SEL, . - GDT_BASE # Selector [0x38]
DSecEntry.asm263 NULL_SEL EQU $ - GDT_BASE ; Selector [0]
270 LINEAR_SEL EQU $ - GDT_BASE ; Selector [0x8]
280 LINEAR_CODE_SEL EQU $ - GDT_BASE ; Selector [0x10]
290 SYS_DATA_SEL EQU $ - GDT_BASE ; Selector [0x18]
301 SYS_CODE_SEL EQU $ - GDT_BASE ; Selector [0x20]
311 SYS16_CODE_SEL EQU $ - GDT_BASE ; Selector [0x28]
321 SYS16_DATA_SEL EQU $ - GDT_BASE ; Selector [0x30]
332 SPARE5_SEL EQU $ - GDT_BASE ; Selector [0x38]
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DUtility.c882 EFI_IPSEC_CONFIG_SELECTOR *Selector; in Ikev2ChildSaSilentDelete() local
921 Selector = AllocateZeroPool (SelectorSize); in Ikev2ChildSaSilentDelete()
922 if (Selector == NULL) { in Ikev2ChildSaSilentDelete()
931 Selector in Ikev2ChildSaSilentDelete()
934 FreePool (Selector); in Ikev2ChildSaSilentDelete()
936 Selector = AllocateZeroPool (SelectorSize); in Ikev2ChildSaSilentDelete()
937 if (Selector == NULL) { in Ikev2ChildSaSilentDelete()
946 Selector in Ikev2ChildSaSilentDelete()
954 if (Selector->SaId.Spi == RemoteSpi) { in Ikev2ChildSaSilentDelete()
966 CopyMem (RemoteSelector, Selector, SelectorSize); in Ikev2ChildSaSilentDelete()
[all …]
DPayload.c973 if (ChildSa->Spd->Selector->LocalPort != 0 && in Ikev2GenerateTsPayload()
974 ChildSa->Spd->Selector->LocalPortRange == 0) { in Ikev2GenerateTsPayload()
978 TsSelector->StartPort = ChildSa->Spd->Selector->LocalPort; in Ikev2GenerateTsPayload()
979 TsSelector->EndPort = ChildSa->Spd->Selector->LocalPort; in Ikev2GenerateTsPayload()
980 } else if (ChildSa->Spd->Selector->LocalPort == 0){ in Ikev2GenerateTsPayload()
993 if (ChildSa->Spd->Selector->RemotePort != 0 && in Ikev2GenerateTsPayload()
994 ChildSa->Spd->Selector->RemotePortRange == 0) { in Ikev2GenerateTsPayload()
998 TsSelector->StartPort = ChildSa->Spd->Selector->RemotePort; in Ikev2GenerateTsPayload()
999 TsSelector->EndPort = ChildSa->Spd->Selector->RemotePort; in Ikev2GenerateTsPayload()
1000 } else if (ChildSa->Spd->Selector->RemotePort == 0) { in Ikev2GenerateTsPayload()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/
DCpuDxe.h247 UINT16 Selector
259 UINT16 Selector
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/X64/
DCpuAsm.asm24 ; UINT16 Selector
41 ; UINT16 Selector
DCpuAsm.S27 # UINT16 Selector
44 # UINT16 Selector
DCpuAsm.nasm24 ; UINT16 Selector
41 ; UINT16 Selector
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/
DSecEntry.nasm251 NULL_SEL EQU $ - GDT_BASE ; Selector [0]
259 LINEAR_SEL EQU $ - GDT_BASE ; Selector [0x8]
269 LINEAR_CODE_SEL EQU $ - GDT_BASE ; Selector [0x10]
279 SYS_DATA_SEL EQU $ - GDT_BASE ; Selector [0x18]
290 SYS_CODE_SEL EQU $ - GDT_BASE ; Selector [0x20]
300 SYS16_CODE_SEL EQU $ - GDT_BASE ; Selector [0x28]
310 SYS16_DATA_SEL EQU $ - GDT_BASE ; Selector [0x30]
321 SPARE5_SEL EQU $ - GDT_BASE ; Selector [0x38]
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/Ia32/
DCpuAsm.asm26 ; UINT16 Selector
44 ; UINT16 Selector
DCpuAsm.S25 # UINT16 Selector
43 # UINT16 Selector
DCpuAsm.nasm23 ; UINT16 Selector
41 ; UINT16 Selector
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/
DDispatchExecute.c44 UINT32 Selector:16; ///< Selector. member
133 Ia32IdtEntry[Index].Bits.Selector = COMPATIBILITY_MODE_SELECTOR; in Execute32BitCode()
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/
DArchDebugSupport.c52 IdtEntry[Index].Bits.Selector = CodeSegment; in InitializeDebugIdt()
59 IdtEntry[DEBUG_TIMER_VECTOR].Bits.Selector = CodeSegment; in InitializeDebugIdt()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsHci.c228 IN UINT8 Selector OPTIONAL, in UfsFillTsfOfQueryReqUpiu()
240 TsfBase->Selector = Selector; in UfsFillTsfOfQueryReqUpiu()
385 IN UINT8 Selector, in UfsInitQueryRequestUpiu() argument
401 UfsFillTsfOfQueryReqUpiu (&QueryReq->Tsf, Opcode, DescId, Index, Selector, 0, *(UINT32*)Data); in UfsInitQueryRequestUpiu()
403 UfsFillTsfOfQueryReqUpiu (&QueryReq->Tsf, Opcode, DescId, Index, Selector, (UINT16)DataSize, 0); in UfsInitQueryRequestUpiu()
405 UfsFillTsfOfQueryReqUpiu (&QueryReq->Tsf, Opcode, DescId, Index, Selector, 0, 0); in UfsInitQueryRequestUpiu()
575 Packet->Selector, in UfsCreateDMCommandDesc()
781 IN UINT8 Selector, in UfsRwDeviceDesc() argument
811 Packet.Selector = Selector; in UfsRwDeviceDesc()
900 IN UINT8 Selector, in UfsRwAttributes() argument
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DIpSecConfig.h645 IN EFI_IPSEC_CONFIG_SELECTOR *Selector,
682 IN EFI_IPSEC_CONFIG_SELECTOR *Selector,
730 IN OUT EFI_IPSEC_CONFIG_SELECTOR *Selector
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/
DFlat32.nasm86 NULL_SEL equ $ - GDT_BASE ; Selector [0]
93 LINEAR_CODE_SEL equ $ - GDT_BASE ; Selector [0x8]
103 SYS_DATA_SEL equ $ - GDT_BASE ; Selector [0x10]

123