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()
418 uint32_t attributes = 0; in uefi_vars_mm_set_variable() local
464 va->attributes); in uefi_vars_mm_set_variable()
465 if (va->attributes & EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS) { in uefi_vars_mm_set_variable()
470 } else if (va->attributes & in uefi_vars_mm_set_variable()
517 if (va->attributes & EFI_VARIABLE_APPEND_WRITE && old_var && new_var) { in uefi_vars_mm_set_variable()
539 attributes = new_var in uefi_vars_mm_set_variable()
540 ? new_var->attributes in uefi_vars_mm_set_variable()
541 : old_var->attributes; in uefi_vars_mm_set_variable()
547 if (attributes & EFI_VARIABLE_NON_VOLATILE) { in uefi_vars_mm_set_variable()
577 vi->attributes = 0; in uefi_vars_mm_variable_info()