Lines Matching defs:err
120 EFI_STATUS err;
122 err = efivar_get_raw(&loader_guid, name, &buf, &size);
123 if (EFI_ERROR(err))
124 return err;
138 EFI_STATUS err;
140 err = efivar_get(name, &val);
141 if (!EFI_ERROR(err)) {
145 return err;
151 EFI_STATUS err;
158 err = uefi_call_wrapper(RT->GetVariable, 5, name, (EFI_GUID *)vendor, NULL, &l, buf);
159 if (!EFI_ERROR(err)) {
165 return err;
310 EFI_STATUS err;
313 err = uefi_call_wrapper(dir->Open, 5, dir, &handle, name, EFI_FILE_MODE_READ, 0ULL);
314 if (EFI_ERROR(err))
315 return err;
327 err = uefi_call_wrapper(handle->SetPosition, 2, handle, off);
328 if (EFI_ERROR(err))
329 return err;
333 err = uefi_call_wrapper(handle->Read, 3, handle, &buflen, buf);
334 if (!EFI_ERROR(err)) {
339 len = err;