Lines Matching refs:pbImage
230 if (pbImage) \
232 if ((uintptr_t)(p) - (uintptr_t)pbImage > cbImage) \
234 SUPR0Printf("supdrvVtgValidate: " #rc " - p=%p pbImage=%p cbImage=%#zxline=%u %s\n", \
235 p, pbImage, cbImage, #p); \
252 * @param pbImage The image base, if available.
256 static int supdrvVtgValidateHdr(PVTGOBJHDR pVtgHdr, RTUINTPTR uVtgHdrAddr, const uint8_t *pbImage, size_t cbImage, bool fUmod)
309 * Make sure both pbImage and cbImage are NULL/0 if one if of them is.
311 if (!pbImage || !cbImage)
313 pbImage = NULL;
480 * @param pbImage The image base. For validating the probe
482 * @param cbImage The image size to go with @a pbImage.
485 static int supdrvVtgValidate(PVTGOBJHDR pVtgHdr, RTUINTPTR uVtgHdrAddr, const uint8_t *pbImage, size_t cbImage, bool fUmod)
492 if (!pbImage || !cbImage)
494 pbImage = NULL;
519 rc = supdrvVtgValidateHdr(pVtgHdr, uVtgHdrAddr, pbImage, cbImage, fUmod);