Lines Matching refs:attributes
150 unsigned long size, u32 attributes, u8 *data) in sanity_check() argument
162 if ((size <= 0) || (attributes == 0)){ in sanity_check()
167 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in sanity_check()
198 u32 attributes; in efivar_store_raw() local
209 attributes = compat->Attributes; in efivar_store_raw()
215 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
226 attributes = new_var->Attributes; in efivar_store_raw()
232 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
239 err = efivar_entry_set(entry, attributes, size, data, NULL); in efivar_store_raw()
330 static EFIVAR_ATTR(attributes, 0400, efivar_attr_read, NULL);
360 u32 attributes; in efivar_create() local
371 attributes = compat->Attributes; in efivar_create()
379 attributes = new_var->Attributes; in efivar_create()
385 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in efivar_create()
401 err = efivar_entry_set(new_entry, attributes, size, in efivar_create()