Lines Matching refs:attributes
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()
266 u32 *attributes) in parse_uboot_variable() argument
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()
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()
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()