Lines Matching refs:attributes
302 check_var_size(u32 attributes, unsigned long size)
314 return fops->query_variable_store(attributes, size, false);
318 check_var_size_nonblocking(u32 attributes, unsigned long size)
330 return fops->query_variable_store(attributes, size, true);
633 * @attributes: variable attributes
651 int efivar_entry_set(struct efivar_entry *entry, u32 attributes,
672 status = check_var_size(attributes, size + ucs2_strsize(name, 1024));
675 attributes, size, data);
695 u32 attributes, unsigned long size, void *data)
708 status = check_var_size_nonblocking(attributes,
716 status = ops->set_variable_nonblocking(name, &vendor, attributes,
727 * @attributes: variable attributes
740 int efivar_entry_set_safe(efi_char16_t *name, efi_guid_t vendor, u32 attributes,
765 return efivar_entry_set_nonblocking(name, vendor, attributes,
772 status = check_var_size_nonblocking(attributes, varsize);
776 status = check_var_size(attributes, varsize);
784 status = ops->set_variable(name, &vendor, attributes, size, data);
878 * @attributes: variable attributes
886 int __efivar_entry_get(struct efivar_entry *entry, u32 *attributes,
896 attributes, size, data);
905 * @attributes: variable attributes
909 int efivar_entry_get(struct efivar_entry *entry, u32 *attributes,
924 attributes, size, data);
934 * @attributes: attributes of variable to be written
953 int efivar_entry_set_get_size(struct efivar_entry *entry, u32 attributes,
983 status = check_var_size(attributes, *size + ucs2_strsize(name, 1024));
998 status = ops->set_variable(name, vendor, attributes, *size, data);