Lines Matching refs:Attributes
82 @param[in] Attributes Attribues of the variable
98 IN UINT32 Attributes OPTIONAL,
731 UINT32 Attributes;
831 Attributes = EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS;
858 Status = UpdateVariable (L"Lang", &gEfiGlobalVariableGuid, BestLang, ISO_639_2_ENTRY_SIZE + 1, Attributes, &Variable);
892 AsciiStrSize (BestPlatformLang), Attributes, &Variable);
913 @param[in] Attributes Attribues of the variable
929 IN UINT32 Attributes OPTIONAL,
962 if ((Variable->CurrPtr->Attributes & EFI_VARIABLE_NON_VOLATILE) == 0) {
972 if (DataSize == 0 || (Attributes & (EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS)) == 0) {
1004 if (DataSize == 0 || (Attributes & (EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS)) == 0) {
1013 (((Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0) || ((Attributes & EFI_VARIABLE_NON_VOLATILE) == 0))) {
1029 if ((Attributes & EFI_VARIABLE_NON_VOLATILE) != 0) {
1031 if ((((Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != 0)
1033 || (((Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == 0)
1043 if ((Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) != 0) {
1062 NextVariable->Attributes = Attributes;
1160 if (!(EfiAtRuntime () && ((Variable[Index]->Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0))) {
1190 @param Attributes If not NULL, a pointer to the memory location to return the
1210 OUT UINT32 *Attributes OPTIONAL,
1248 if (Attributes != NULL) {
1249 *Attributes = Variable.CurrPtr->Attributes;
1340 if (!(EfiAtRuntime () && ((Variable.CurrPtr->Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0))) {
1380 @param Attributes Attributes bitmask to set for the variable
1389 defined by the Attributes.
1404 IN UINT32 Attributes,
1429 if ((Attributes & EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS) != 0) {
1436 if ((Attributes & (EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS)) == EFI_VARIABLE_RUNTIME_ACCESS) {
1444 if ((Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE_HARDWARE_ERROR_RECORD) {
1479 Status = UpdateVariable (VariableName, VendorGuid, Data, DataSize, Attributes, &Variable);
1489 @param Attributes Attributes bitmask to specify the type of variables
1509 IN UINT32 Attributes,
1526 if(MaximumVariableStorageSize == NULL || RemainingVariableStorageSize == NULL || MaximumVariableSize == NULL || Attributes == 0) {
1530 if((Attributes & (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_HARDWARE_ERROR_RECORD)) == 0) {
1532 // Make sure the Attributes combination is supported by the platform.
1535 } else if ((Attributes & (EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS)) == EFI_VARIABLE_RUNTIME_ACCESS) {
1540 } else if (EfiAtRuntime () && ((Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0)) {
1545 } else if ((Attributes & (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_HARDWARE_ERROR_RECORD)) == EFI_VARIABLE_HARDWARE_ERROR_RECORD) {
1550 } else if ((Attributes & EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS) != 0) {
1559 if((Attributes & EFI_VARIABLE_NON_VOLATILE) == 0) {
1580 if ((Attributes & (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_HARDWARE_ERROR_RECORD)) == (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_HARDWARE_ERROR_RECORD)) {
1584 if ((Attributes & EFI_VARIABLE_NON_VOLATILE) != 0) {
1610 if ((Variable->Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE_HARDWARE_ERROR_RECORD) {
1622 if ((Attributes & EFI_VARIABLE_HARDWARE_ERROR_RECORD) == EFI_VARIABLE_HARDWARE_ERROR_RECORD){
1748 ASSERT ((Variable->Attributes & EFI_VARIABLE_NON_VOLATILE) != 0);
1753 Variable->Attributes,