Lines Matching full:attributes
46 VMSTATE_UINT32(attributes, uefi_variable),
78 uint32_t attributes) in add_variable() argument
87 var->attributes = attributes; in add_variable()
89 var->attributes &= ~EFI_VARIABLE_APPEND_WRITE; in add_variable()
121 uint32_t attributes, in uefi_vars_set_variable() argument
134 new_var = add_variable(uv, guid, name, name_size, attributes); in uefi_vars_set_variable()
146 if (var->attributes & EFI_VARIABLE_NON_VOLATILE) { in uefi_vars_clear_volatile()
177 if (!(var->attributes & EFI_VARIABLE_BOOTSERVICE_ACCESS)) { in check_access()
181 if (!(var->attributes & EFI_VARIABLE_RUNTIME_ACCESS)) { in check_access()
200 if (new_var->attributes & ~EFI_VARIABLE_ATTRIBUTE_SUPPORTED) { in check_update()
209 if (old_var->attributes != new_var->attributes) { in check_update()
314 va->attributes = var->attributes; in uefi_vars_mm_get_variable()
415 uint32_t attributes = 0; in uefi_vars_mm_set_variable() local
461 va->attributes); in uefi_vars_mm_set_variable()
462 if (va->attributes & EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS) { in uefi_vars_mm_set_variable()
467 } else if (va->attributes & in uefi_vars_mm_set_variable()
514 if (va->attributes & EFI_VARIABLE_APPEND_WRITE && old_var && new_var) { in uefi_vars_mm_set_variable()
536 attributes = new_var in uefi_vars_mm_set_variable()
537 ? new_var->attributes in uefi_vars_mm_set_variable()
538 : old_var->attributes; in uefi_vars_mm_set_variable()
544 if (attributes & EFI_VARIABLE_NON_VOLATILE) { in uefi_vars_mm_set_variable()
574 vi->attributes = 0; in uefi_vars_mm_variable_info()