Lines Matching refs:attributes
206 unsigned long size, u32 attributes, u8 *data) in sanity_check() argument
218 if ((size <= 0) || (attributes == 0)){ in sanity_check()
223 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in sanity_check()
262 u32 attributes; in efivar_store_raw() local
273 attributes = compat->Attributes; in efivar_store_raw()
279 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
290 attributes = new_var->Attributes; in efivar_store_raw()
296 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
303 err = efivar_entry_set(entry, attributes, size, data, NULL); in efivar_store_raw()
394 static EFIVAR_ATTR(attributes, 0400, efivar_attr_read, NULL);
424 u32 attributes; in efivar_create() local
435 attributes = compat->Attributes; in efivar_create()
443 attributes = new_var->Attributes; in efivar_create()
449 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in efivar_create()
465 err = efivar_entry_set(new_entry, attributes, size, in efivar_create()