Lines Matching refs:Selector
560 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
912 UNFIX_REF_BUF_ADDR (Selector->LocalAddress, Selector); in UnfixSpdEntry()
913 UNFIX_REF_BUF_ADDR (Selector->RemoteAddress, Selector); in UnfixSpdEntry()
1029 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in SetSpdEntry() argument
1050 SpdSel = (Selector == NULL) ? NULL : &Selector->SpdSelector; in SetSpdEntry()
1089 …CompareSpdSelector ((EFI_IPSEC_CONFIG_SELECTOR *) SpdEntry->Selector, (EFI_IPSEC_CONFIG_SELECTOR *… in SetSpdEntry()
1142 (EFI_IPSEC_CONFIG_SELECTOR *) SpdEntry->Selector, in SetSpdEntry()
1167 SpdEntry->Selector = (EFI_IPSEC_SPD_SELECTOR *) ALIGN_POINTER ((SpdEntry + 1), sizeof (UINTN)); in SetSpdEntry()
1169 … ((UINT8 *) SpdEntry->Selector + SIZE_OF_SPD_SELECTOR (SpdSel)), in SetSpdEntry()
1174 (EFI_IPSEC_CONFIG_SELECTOR *) SpdEntry->Selector, in SetSpdEntry()
1221 (EFI_IPSEC_CONFIG_SELECTOR *) SpdEntry->Selector in SetSpdEntry()
1266 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in SetSadEntry() argument
1283 SaId = (Selector == NULL) ? NULL : &Selector->SaId; in SetSadEntry()
1456 (EFI_IPSEC_CONFIG_SELECTOR *) SpdEntry->Selector in SetSadEntry()
1502 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in SetPadEntry() argument
1517 PadId = (Selector == NULL) ? NULL : &Selector->PadId; in SetPadEntry()
1653 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in GetSpdEntry() argument
1667 SpdSel = &Selector->SpdSelector; in GetSpdEntry()
1679 (EFI_IPSEC_CONFIG_SELECTOR *) SpdEntry->Selector in GetSpdEntry()
1754 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in GetSadEntry() argument
1766 SaId = &Selector->SaId; in GetSadEntry()
1938 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in GetPadEntry() argument
1950 PadId = &Selector->PadId; in GetPadEntry()
2458 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in EfiIpSecConfigGetData() argument
2463 if (This == NULL || Selector == NULL || DataSize == NULL) { in EfiIpSecConfigGetData()
2475 return mGetPolicyEntry[DataType](Selector, DataSize, Data); in EfiIpSecConfigGetData()
2512 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in EfiIpSecConfigSetData() argument
2527 Status = mSetPolicyEntry[DataType](Selector, Data, InsertBefore); in EfiIpSecConfigSetData()
2582 IN OUT EFI_IPSEC_CONFIG_SELECTOR *Selector in EfiIpSecConfigGetNextSelector() argument
2589 if (This == NULL || Selector == NULL || SelectorSize == NULL) { in EfiIpSecConfigGetNextSelector()
2602 if (IsFound || (BOOLEAN)(mIsZeroSelector[DataType](Selector))) { in EfiIpSecConfigGetNextSelector()
2607 return mDuplicateSelector[DataType](Selector, CommonEntry->Selector, SelectorSize); in EfiIpSecConfigGetNextSelector()
2612 IsFound = mCompareSelector[DataType](Selector, CommonEntry->Selector); in EfiIpSecConfigGetNextSelector()
2700 IN EFI_IPSEC_CONFIG_SELECTOR *Selector, in IpSecCopyPolicyEntry() argument
2748 mFixPolicyEntry[Type](Selector, Data); in IpSecCopyPolicyEntry()
2768 Selector, in IpSecCopyPolicyEntry()
2795 mUnfixPolicyEntry[Type](Selector, Data); in IpSecCopyPolicyEntry()
2822 EFI_IPSEC_CONFIG_SELECTOR *Selector; in IpSecVisitConfigData() local
2834 Selector = AllocateZeroPool (SelectorBufferSize); in IpSecVisitConfigData()
2836 if (Selector == NULL) { in IpSecVisitConfigData()
2849 Selector in IpSecVisitConfigData()
2852 FreePool (Selector); in IpSecVisitConfigData()
2859 Selector = AllocateZeroPool (SelectorBufferSize); in IpSecVisitConfigData()
2861 Selector = AllocateCopyPool (SelectorBufferSize, Selector); in IpSecVisitConfigData()
2864 if (Selector == NULL) { in IpSecVisitConfigData()
2874 Selector in IpSecVisitConfigData()
2891 Selector, in IpSecVisitConfigData()
2912 Selector, in IpSecVisitConfigData()
2927 Selector, in IpSecVisitConfigData()
2942 if (Selector != NULL) { in IpSecVisitConfigData()
2943 FreePool (Selector); in IpSecVisitConfigData()
3025 EFI_IPSEC_CONFIG_SELECTOR *Selector; in IpSecConfigRestore() local
3084 Selector = (EFI_IPSEC_CONFIG_SELECTOR *) ALIGN_POINTER (Header + 1, sizeof (UINTN)); in IpSecConfigRestore()
3086 (UINT8 *) Selector + Header->Size, in IpSecConfigRestore()
3093 mUnfixPolicyEntry[Type](Selector, Data); in IpSecConfigRestore()
3102 Selector, in IpSecConfigRestore()