Home
last modified time | relevance | path

Searched refs:GET_PAD_SIZE (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/
DVariableFormat.h43 #define GET_PAD_SIZE(a) (0) macro
45 #define GET_PAD_SIZE(a) (((~a) + 1) & (ALIGNMENT - 1)) macro
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DVariable.c565 Address += GET_PAD_SIZE (NameSizeOfVariable (&VariableHeader)); in GetVariableDataPtr()
616 Address += GET_PAD_SIZE (NameSizeOfVariable (&VariableHeader)); in GetNextVariablePtr()
618 Address += GET_PAD_SIZE (DataSizeOfVariable (&VariableHeader)); in GetNextVariablePtr()
2028 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
2047 VarSize = VarDataOffset + DataSize + GET_PAD_SIZE (DataSize); in UpdateVariable()
2978 + VariableHeader->NameSize + GET_PAD_SIZE (VariableHeader->NameSize) in FlushHob2Nv()
2979 + VariableHeader->DataSize + GET_PAD_SIZE (VariableHeader->DataSize) in FlushHob2Nv()
2989 …(UINT8 *) (VariableHeader + 1) + VariableHeader->NameSize + GET_PAD_SIZE (VariableHeader->NameSize… in FlushHob2Nv()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/
DEmuVariable.c159 …return (UINT8 *) ((UINTN) GET_VARIABLE_NAME_PTR (Variable) + Variable->NameSize + GET_PAD_SIZE (Va… in GetVariableDataPtr()
189 …R_ALIGN ((UINTN) GetVariableDataPtr (Variable) + Variable->DataSize + GET_PAD_SIZE (Variable->Data… in GetNextPotentialVariablePtr()
987 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
988 VarSize = VarDataOffset + DataSize + GET_PAD_SIZE (DataSize); in UpdateVariable()
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFSVariable.c181 …return (UINT8 *) ((UINTN) GET_VARIABLE_NAME_PTR (Variable) + Variable->NameSize + GET_PAD_SIZE (Va… in GetVariableDataPtr()
210 …ADER *) ((UINTN) GetVariableDataPtr (Variable) + Variable->DataSize + GET_PAD_SIZE (Variable->Data… in GetNextVariablePtr()
1209 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
1229 VarSize = VarDataOffset + DataSize + GET_PAD_SIZE (DataSize); in UpdateVariable()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c662 Value += GET_PAD_SIZE (NameSizeOfVariable (Variable)); in GetVariableDataPtr()
687 Value += GET_PAD_SIZE (NameSizeOfVariable (Variable)); in GetVariableDataOffset()
710 Value += GET_PAD_SIZE (DataSizeOfVariable (Variable)); in GetNextVariablePtr()
1766 VarNameSize += GET_PAD_SIZE (VarNameSize); in CheckRemainingSpaceForConsistencyInternal()
1768 VarDataSize += GET_PAD_SIZE (VarDataSize); in CheckRemainingSpaceForConsistencyInternal()
2530 VarDataOffset = VarNameOffset + VarNameSize + GET_PAD_SIZE (VarNameSize); in UpdateVariable()
2557 VarSize = VarDataOffset + DataSize + GET_PAD_SIZE (DataSize); in UpdateVariable()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/Pei/
DVariable.c282 Value += GET_PAD_SIZE (NameSizeOfVariable (VariableHeader, AuthFlag)); in GetVariableDataPtr()
311 Value += GET_PAD_SIZE (DataSizeOfVariable (VariableHeader, StoreInfo->AuthFlag)); in GetNextVariablePtr()