Lines Matching defs:cb1

3472     unsigned cb1 = PAGE_SIZE - (GCPtrSrc & PAGE_OFFSET_MASK);
3473 if (cb <= cb1)
3517 size_t cb2 = cb - cb1;
3525 rc = PGM_GST_PFN(GetPage,pVCpu)(pVCpu, GCPtrSrc + cb1, &fFlags2, &GCPhys2);
3529 AssertMsgFailed(("cb=%d cb1=%d cb2=%d GCPtrSrc=%RGv\n", cb, cb1, cb2, GCPtrSrc));
3536 memcpy(pvDst, (uint8_t *)pvSrc1 + (GCPtrSrc & PAGE_OFFSET_MASK), cb1);
3540 memset(pvDst, 0xff, cb1);
3552 memcpy((uint8_t *)pvDst + cb1, pvSrc2, cb2);
3556 memset((uint8_t *)pvDst + cb1, 0xff, cb2);
3570 rc = PGMGstModifyPage(pVCpu, GCPtrSrc + cb1, 1, X86_PTE_A, ~(uint64_t)X86_PTE_A);
3650 unsigned cb1 = PAGE_SIZE - (GCPtrSrc & PAGE_OFFSET_MASK);
3651 if (cb <= cb1)
3699 size_t cb2 = cb - cb1;
3707 rc = PGM_GST_PFN(GetPage,pVCpu)(pVCpu, GCPtrSrc + cb1, &fFlags2, &GCPhys2);
3719 pvDst, (const uint8_t *)pvSrc + (GCPtrSrc & PAGE_OFFSET_MASK), GCPtrSrc, cb1));
3720 memcpy(pvDst, (const uint8_t *)pvSrc + (GCPtrSrc & PAGE_OFFSET_MASK), cb1);
3725 memset(pvDst, 0xff, cb1);
3737 memcpy((uint8_t *)pvDst + cb1, pvSrc, cb2);
3742 memset((uint8_t *)pvDst + cb1, 0xff, cb2);
3757 rc = PGMGstModifyPage(pVCpu, GCPtrSrc + cb1, 1, X86_PTE_A, ~(uint64_t)X86_PTE_A);
3765 GCPtrSrc += cb1; /* fault on 2nd page */
3846 unsigned cb1 = PAGE_SIZE - (GCPtrDst & PAGE_OFFSET_MASK);
3847 if (cb <= cb1)
3898 size_t cb2 = cb - cb1;
3906 rc = PGM_GST_PFN(GetPage,pVCpu)(pVCpu, GCPtrDst + cb1, &fFlags2, &GCPhys2);
3921 (uint8_t *)pvDst + (GCPtrDst & PAGE_OFFSET_MASK), GCPtrDst, pvSrc, cb1));
3922 memcpy((uint8_t *)pvDst + (GCPtrDst & PAGE_OFFSET_MASK), pvSrc, cb1);
3939 memcpy(pvDst, (const uint8_t *)pvSrc + cb1, cb2);
3959 rc = PGMGstModifyPage(pVCpu, GCPtrDst + cb1, 1, (X86_PTE_A | X86_PTE_RW), ~(uint64_t)(X86_PTE_A | X86_PTE_RW));
3965 GCPtrDst += cb1; /* fault on the 2nd page. */
3969 GCPtrDst += cb1; /* fault on the 2nd page. */