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