Lines Matching refs:compat
203 struct compat_efi_variable *compat; in efivar_store_raw() local
205 if (count != sizeof(*compat)) in efivar_store_raw()
208 compat = (struct compat_efi_variable *)buf; in efivar_store_raw()
209 attributes = compat->Attributes; in efivar_store_raw()
210 vendor = compat->VendorGuid; in efivar_store_raw()
211 name = compat->VariableName; in efivar_store_raw()
212 size = compat->DataSize; in efivar_store_raw()
213 data = compat->Data; in efivar_store_raw()
219 copy_out_compat(&entry->var, compat); in efivar_store_raw()
252 struct compat_efi_variable *compat; in efivar_show_raw() local
264 compat = (struct compat_efi_variable *)buf; in efivar_show_raw()
266 size = sizeof(*compat); in efivar_show_raw()
267 memcpy(compat->VariableName, var->VariableName, in efivar_show_raw()
269 memcpy(compat->Data, var->Data, sizeof(compat->Data)); in efivar_show_raw()
271 compat->VendorGuid = var->VendorGuid; in efivar_show_raw()
272 compat->DataSize = var->DataSize; in efivar_show_raw()
273 compat->Attributes = var->Attributes; in efivar_show_raw()
354 struct compat_efi_variable *compat = (struct compat_efi_variable *)buf; in efivar_create() local
368 if (count != sizeof(*compat)) in efivar_create()
371 attributes = compat->Attributes; in efivar_create()
372 name = compat->VariableName; in efivar_create()
373 size = compat->DataSize; in efivar_create()
374 data = compat->Data; in efivar_create()
397 copy_out_compat(&new_entry->var, compat); in efivar_create()
425 struct compat_efi_variable *compat; in efivar_delete() local
435 if (count != sizeof(*compat)) in efivar_delete()
438 compat = (struct compat_efi_variable *)buf; in efivar_delete()
439 name = compat->VariableName; in efivar_delete()
440 vendor = compat->VendorGuid; in efivar_delete()