Lines Matching full:attributes
21 * efi_$guid_$varname = {attributes}(type)value
30 * The attributes are a comma separated list of these possible
31 * attributes:
40 * If not specified, the attributes default to "{boot}".
102 * parse_attr() - decode attributes part of variable value
104 * Convert the string encoded attributes of a UEFI variable to a bit mask.
105 * TODO: Several attributes are not supported.
108 * @attrp: pointer to UEFI attributes
158 * @attributes: attributes of the variable
164 const efi_guid_t *vendor, u32 *attributes, in efi_get_variable() argument
173 EFI_ENTRY("\"%ls\" %pUl %p %p %p", variable_name, vendor, attributes, in efi_get_variable()
235 if (attributes) in efi_get_variable()
236 *attributes = attr & EFI_VARIABLE_MASK; in efi_get_variable()
251 * @attributes: attributes
266 u32 *attributes) in parse_uboot_variable() argument
303 /* attributes */ in parse_uboot_variable()
304 parse_attr(end, attributes); in parse_uboot_variable()
331 u32 attributes; in efi_get_next_variable_name() local
394 vendor, &attributes); in efi_get_next_variable_name()
409 * @attributes: attributes of the variable
415 const efi_guid_t *vendor, u32 attributes, in efi_set_variable() argument
422 EFI_ENTRY("\"%ls\" %pUl %x %zu %p", variable_name, vendor, attributes, in efi_set_variable()
436 if ((data_size == 0) || !(attributes & ACCESS_ATTR)) { in efi_set_variable()
464 * store attributes in efi_set_variable()
465 * TODO: several attributes are not supported in efi_set_variable()
467 attributes &= (EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS); in efi_set_variable()
469 while (attributes) { in efi_set_variable()
470 u32 attr = 1 << (ffs(attributes) - 1); in efi_set_variable()
477 attributes &= ~attr; in efi_set_variable()
478 if (attributes) in efi_set_variable()