Lines Matching refs:compat
213 struct compat_efi_variable *compat; in efivar_store_raw() local
215 if (count != sizeof(*compat)) in efivar_store_raw()
218 compat = (struct compat_efi_variable *)buf; in efivar_store_raw()
219 attributes = compat->Attributes; in efivar_store_raw()
220 vendor = compat->VendorGuid; in efivar_store_raw()
221 name = compat->VariableName; in efivar_store_raw()
222 size = compat->DataSize; in efivar_store_raw()
223 data = compat->Data; in efivar_store_raw()
229 copy_out_compat(&entry->var, compat); in efivar_store_raw()
262 struct compat_efi_variable *compat; in efivar_show_raw() local
276 compat = (struct compat_efi_variable *)buf; in efivar_show_raw()
278 size = sizeof(*compat); in efivar_show_raw()
279 memcpy(compat->VariableName, var->VariableName, in efivar_show_raw()
281 memcpy(compat->Data, var->Data, sizeof(compat->Data)); in efivar_show_raw()
283 compat->VendorGuid = var->VendorGuid; in efivar_show_raw()
284 compat->DataSize = var->DataSize; in efivar_show_raw()
285 compat->Attributes = var->Attributes; in efivar_show_raw()
366 struct compat_efi_variable *compat = (struct compat_efi_variable *)buf; in efivar_create() local
380 if (count != sizeof(*compat)) in efivar_create()
383 attributes = compat->Attributes; in efivar_create()
384 name = compat->VariableName; in efivar_create()
385 size = compat->DataSize; in efivar_create()
386 data = compat->Data; in efivar_create()
409 copy_out_compat(&new_entry->var, compat); in efivar_create()
437 struct compat_efi_variable *compat; in efivar_delete() local
447 if (count != sizeof(*compat)) in efivar_delete()
450 compat = (struct compat_efi_variable *)buf; in efivar_delete()
451 name = compat->VariableName; in efivar_delete()
452 vendor = compat->VendorGuid; in efivar_delete()