Lines Matching refs:attributes
157 unsigned long size, u32 attributes, u8 *data) in sanity_check() argument
169 if ((size <= 0) || (attributes == 0)){ in sanity_check()
174 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in sanity_check()
205 u32 attributes; in efivar_store_raw() local
219 attributes = compat->Attributes; in efivar_store_raw()
225 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
236 attributes = new_var->Attributes; in efivar_store_raw()
242 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
249 err = efivar_entry_set(entry, attributes, size, data, NULL); in efivar_store_raw()
342 static EFIVAR_ATTR(attributes, 0400, efivar_attr_read, NULL);
372 u32 attributes; in efivar_create() local
383 attributes = compat->Attributes; in efivar_create()
391 attributes = new_var->Attributes; in efivar_create()
397 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in efivar_create()
413 err = efivar_entry_set(new_entry, attributes, size, in efivar_create()