Lines Matching refs:cbPatchBlockSize
1118 Assert(pPatch); Assert(offset - pPatch->pPatchBlockOffset < pPatch->cbPatchBlockSize);
1451 if (pPatch->cbPatchBlockSize >= MAX_PATCH_SIZE)
1453 Log(("Code block too big (%x) for patch at %RRv!!\n", pPatch->cbPatchBlockSize, pCurInstrGC));
1514 pPatch->cbPatchBlockSize += pCpu->cbInstr;
1545 if (pPatch->cbPatchBlockSize >= SIZEOF_NEARJUMP32)
1581 if ((pPatch->flags & PATMFL_CHECK_SIZE) && pPatch->cbPatchBlockSize > SIZEOF_NEARJUMP32 && !(pCpu->pCurInstr->fOpType & DISOPTYPE_RELATIVE_CONTROLFLOW))
1615 if (pPatch->cbPatchBlockSize >= MAX_PATCH_SIZE)
1617 Log(("Code block too big (%x) for function patch at %RRv!!\n", pPatch->cbPatchBlockSize, pCurInstrGC));
1661 pPatch->cbPatchBlockSize += pCpu->cbInstr;
2911 if (pPatch->cbPatchBlockSize < SIZEOF_NEARJUMP32)
2921 pPatch->cbPatchBlockSize = pPatch->uCurPatchOffset;
2925 pVM->patm.s.offPatchMem += pPatch->cbPatchBlockSize;
3123 pPatch->cbPatchBlockSize = pPatch->uCurPatchOffset;
3126 pVM->patm.s.offPatchMem += pPatch->cbPatchBlockSize;
3198 pPatch->cbPatchBlockSize = pPatch->uCurPatchOffset;
3201 pVM->patm.s.offPatchMem += pPatch->cbPatchBlockSize;
3323 pPatch->cbPatchBlockSize = pPatch->uCurPatchOffset;
3326 pVM->patm.s.offPatchMem += pPatch->cbPatchBlockSize;
3508 pPatch->cbPatchBlockSize = pPatch->uCurPatchOffset;
3511 pVM->patm.s.offPatchMem += pPatch->cbPatchBlockSize;
3981 pPatch->cbPatchBlockSize = 0;
4553 STAM_COUNTER_ADD(&pVM->patm.s.StatPATMMemoryUsed, pPatchRec->patch.cbPatchBlockSize);
4575 STAMR3RegisterF(pVM, &pPatchRec->patch.cbPatchBlockSize,STAMTYPE_U32, STAMVISIBILITY_ALWAYS, STAMUNIT_BYTES, NULL, "/PATM/PatchBD/0x%RRv/cbPatchBlockSize", pPatchRec->patch.pPrivInstrGC);
6403 Assert(offset >= pPatch->patch.pPatchBlockOffset && offset < pPatch->patch.pPatchBlockOffset + pPatch->patch.cbPatchBlockSize);
6807 pPatch->cbPatchBlockSize, PATMPatchState(pVM, pPatch), PATMPatchType(pVM, pPatch),