Lines Matching refs:compat
267 struct compat_efi_variable *compat; in efivar_store_raw() local
269 if (count != sizeof(*compat)) in efivar_store_raw()
272 compat = (struct compat_efi_variable *)buf; in efivar_store_raw()
273 attributes = compat->Attributes; in efivar_store_raw()
274 vendor = compat->VendorGuid; in efivar_store_raw()
275 name = compat->VariableName; in efivar_store_raw()
276 size = compat->DataSize; in efivar_store_raw()
277 data = compat->Data; in efivar_store_raw()
283 copy_out_compat(&entry->var, compat); in efivar_store_raw()
316 struct compat_efi_variable *compat; in efivar_show_raw() local
328 compat = (struct compat_efi_variable *)buf; in efivar_show_raw()
330 size = sizeof(*compat); in efivar_show_raw()
331 memcpy(compat->VariableName, var->VariableName, in efivar_show_raw()
333 memcpy(compat->Data, var->Data, sizeof(compat->Data)); in efivar_show_raw()
335 compat->VendorGuid = var->VendorGuid; in efivar_show_raw()
336 compat->DataSize = var->DataSize; in efivar_show_raw()
337 compat->Attributes = var->Attributes; in efivar_show_raw()
418 struct compat_efi_variable *compat = (struct compat_efi_variable *)buf; in efivar_create() local
432 if (count != sizeof(*compat)) in efivar_create()
435 attributes = compat->Attributes; in efivar_create()
436 name = compat->VariableName; in efivar_create()
437 size = compat->DataSize; in efivar_create()
438 data = compat->Data; in efivar_create()
461 copy_out_compat(&new_entry->var, compat); in efivar_create()
489 struct compat_efi_variable *compat; in efivar_delete() local
499 if (count != sizeof(*compat)) in efivar_delete()
502 compat = (struct compat_efi_variable *)buf; in efivar_delete()
503 name = compat->VariableName; in efivar_delete()
504 vendor = compat->VendorGuid; in efivar_delete()