Lines Matching refs:pIfError

138     PVDINTERFACEERROR pIfError;
797 pImage->pIfError = VDIfErrorGet(pImage->pVDIfsDisk);
1032 return vdIfError(pImage->pIfError, VERR_NO_MEMORY, RT_SRC_POS, N_("VHD: cannot allocate memory for bitmap storage"));
1040 return vdIfError(pImage->pIfError, VERR_NO_MEMORY, RT_SRC_POS, N_("VHD: cannot allocate memory for BAT"));
1057 return vdIfError(pImage->pIfError, VERR_NO_MEMORY, RT_SRC_POS, N_("VHD: cannot set the file size for '%s'"), pImage->pszFilename);
1064 return vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VHD: cannot set the file size for '%s'"), pImage->pszFilename);
1083 return vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VHD: cannot write dynamic disk header to image '%s'"), pImage->pszFilename);
1090 return vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VHD: cannot write BAT to image '%s'"), pImage->pszFilename);
1113 pImage->pIfError = VDIfErrorGet(pImage->pVDIfsDisk);
1120 return vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VHD: cannot create image '%s'"), pImage->pszFilename);
1165 vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VHD: cannot set the file size for '%s'"), pImage->pszFilename);
1211 vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VHD: cannot write footer to image '%s'"), pImage->pszFilename);
1222 vdIfError(pImage->pIfError, rc, RT_SRC_POS, N_("VHD: cannot write a copy of footer to image '%s'"), pImage->pszFilename);
2318 vdIfErrorMessage(pImage->pIfError, "Header: Geometry PCHS=%u/%u/%u LCHS=%u/%u/%u cbSector=%u\n",
2322 vdIfErrorMessage(pImage->pIfError, "Header: uuidCreation={%RTuuid}\n", &pImage->ImageUuid);
2323 vdIfErrorMessage(pImage->pIfError, "Header: uuidParent={%RTuuid}\n", &pImage->ParentUuid);
2859 PVDINTERFACEERROR pIfError;
2871 pIfError = VDIfErrorGet(pVDIfsDisk);
2892 rc = vdIfError(pIfError, rc, RT_SRC_POS, "Failed to open image \"%s\"", pszFilename);
2899 rc = vdIfError(pIfError, rc, RT_SRC_POS, "Failed to query image size");
2905 rc = vdIfError(pIfError, VERR_VD_INVALID_SIZE, RT_SRC_POS,
2915 rc = vdIfError(pIfError, rc, RT_SRC_POS, "Failed to read footer of image");
2926 rc = vdIfError(pIfError, rc, RT_SRC_POS, "Failed to read header of image");
2936 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
2941 vdIfErrorMessage(pIfError, "Missing footer structure, using backup\n");
2958 vdIfErrorMessage(pIfError, "Checksum is invalid (should be %u got %u), repairing\n",
2977 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
2992 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3001 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3016 vdIfErrorMessage(pIfError, "Checksum of dynamic disk header is invalid (should be %u got %u), repairing\n",
3030 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3038 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3048 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3057 rc = vdIfError(pIfError, VERR_NO_MEMORY, RT_SRC_POS,
3070 vdIfErrorMessage(pIfError, "First data block at sector %u\n", idxMinBlock);
3084 vdIfErrorMessage(pIfError, "Entry %u points to invalid offset %llu, clearing\n",
3091 vdIfErrorMessage(pIfError, "Entry %u intersects with footer, aligning footer\n",
3100 vdIfErrorMessage(pIfError, "Entry %u points to an already referenced data block, clearing\n",
3111 vdIfErrorMessage(pIfError, "VHD image is in a consistent state, no repair required\n");
3119 vdIfErrorMessage(pIfError, "Writing repaired block allocation table...\n");
3125 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3136 vdIfErrorMessage(pIfError, "Writing repaired dynamic disk header...\n");
3141 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3150 vdIfErrorMessage(pIfError, "Writing repaired Footer...\n");
3159 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3170 rc = vdIfError(pIfError, VERR_VD_IMAGE_REPAIR_IMPOSSIBLE, RT_SRC_POS,
3177 vdIfErrorMessage(pIfError, "Corrupted VHD image repaired successfully\n");