/vbox/src/VBox/Runtime/r0drv/linux/ |
H A D | memobj-r0drv-linux.c | 320 || cb <= PAGE_SIZE * 2) 386 && uAlignment > PAGE_SIZE) 638 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_PAGE, cb, PAGE_SIZE, GFP_HIGHUSER, 641 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_PAGE, cb, PAGE_SIZE, GFP_USER, 669 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_LOW, cb, PAGE_SIZE, GFP_DMA32, 675 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_LOW, cb, PAGE_SIZE, GFP_DMA, 681 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_LOW, cb, PAGE_SIZE, GFP_USER, 708 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_CONT, cb, PAGE_SIZE, GFP_DMA32, 714 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_CONT, cb, PAGE_SIZE, GFP_DMA, 718 rc = rtR0MemObjLinuxAllocPages(&pMemLnx, RTR0MEMOBJTYPE_CONT, cb, PAGE_SIZE, GFP_USE [all...] |
/vbox/src/VBox/Additions/linux/sharedfolders/ |
H A D | regops.c | 31 tmp_size = RT_ALIGN_Z(xfer_size, PAGE_SIZE); 38 tmp = kmalloc(PAGE_SIZE, GFP_KERNEL); 44 tmp_size = PAGE_SIZE; 465 uint32_t nread = PAGE_SIZE; 517 BUG_ON (nread > PAGE_SIZE); 529 memset(buf + nread, 0, PAGE_SIZE - nread); 611 uint32_t nread = PAGE_SIZE; 627 BUG_ON(nread > PAGE_SIZE); 628 memset(&buf[nread], 0, PAGE_SIZE - nread); 646 uint32_t nwritten = PAGE_SIZE; [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTHeapSimple.cpp | 83 { PAGE_SIZE, PAGE_SIZE, NULL, 13 }, // 10 85 { PAGE_SIZE, 32, NULL, 11 }, 86 { PAGE_SIZE, PAGE_SIZE, NULL, 14 },
|
H A D | tstRTMemSafer.cpp | 109 RTTestPrintf(hTest, RTTESTLVL_ALWAYS, "%u reallocation, grow by 1 bytes\n", PAGE_SIZE * 2); 113 for (uint32_t i = 0; i <= PAGE_SIZE * 2; i++)
|
H A D | tstRTHeapOffset.cpp | 86 { PAGE_SIZE, PAGE_SIZE, NULL, 13 }, // 10 88 { PAGE_SIZE, 32, NULL, 11 }, 89 { PAGE_SIZE, PAGE_SIZE, NULL, 14 },
|
/vbox/src/VBox/Runtime/r0drv/solaris/ |
H A D | memobj-r0drv-solaris.c | 152 g_offPage = RT_ALIGN_64(g_offPage, PAGE_SIZE) + PAGE_SIZE; 157 page_t *pPage = page_create_va(&g_PageVnode, offPage, PAGE_SIZE, PG_WAIT | PG_NORELOC, &KernelSeg, virtAddr); 236 size_t cPages = (cb + PAGE_SIZE - 1) >> PAGE_SHIFT; 249 for (size_t i = 0; i < cPages; i++, virtAddr += PAGE_SIZE) 293 size_t cPages = (cb + PAGE_SIZE - 1) >> PAGE_SHIFT; 334 size_t cPages = (cbLargePage + PAGE_SIZE - 1) >> PAGE_SHIFT; 418 Assert(cbLargePage > PAGE_SIZE); 421 size_t cPages = (cbLargePage + PAGE_SIZE - 1) >> PAGE_SHIFT; 680 void *pvMem = rtR0SolMemAlloc(uPhysHi, NULL /* puPhys */, cb, PAGE_SIZE, fals [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | virtio-ring.h | 4 #define PAGE_SIZE (1<<PAGE_SHIFT) macro 5 #define PAGE_MASK (PAGE_SIZE-1)
|
/vbox/src/VBox/VMM/VMMR0/ |
H A D | GIMR0Hv.cpp | 51 int rc = RTR0MemObjAllocCont(pMemObj, PAGE_SIZE, false /* fExecutable */); 56 ASMMemZero32(*ppVirt, PAGE_SIZE);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/common/ |
H A D | VBoxMPUtils.h | 44 # ifdef PAGE_SIZE 45 # undef PAGE_SIZE
|
/vbox/src/VBox/Runtime/r0drv/freebsd/ |
H A D | alloc-r0drv-freebsd.c | 75 cbAllocated = RT_ALIGN_Z(cb + sizeof(*pHdr), PAGE_SIZE); 164 PAGE_SIZE, /* alignment. */
|
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | systemmem-solaris.cpp | 115 *pcb = (uint64_t)pData->value.ul * PAGE_SIZE; 143 *pcb = (uint64_t)pData->value.ul * PAGE_SIZE;
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/shared/src/ |
H A D | ipcLog.cpp | 51 # if defined(__OS2__) && defined(PAGE_SIZE) 52 # undef PAGE_SIZE macro
|
/vbox/src/VBox/Runtime/r0drv/os2/ |
H A D | memobj-r0drv-os2.cpp | 203 if (uAlignment != PAGE_SIZE) 230 return rtR0MemObjNativeAllocPhys(ppMem, cb, PhysHighest, PAGE_SIZE); 327 if (uAlignment > PAGE_SIZE) 403 if (uAlignment > PAGE_SIZE) 463 if (uAlignment == PAGE_SIZE) 547 Assert(Page.Size == RT_ALIGN_Z(Page.Size, PAGE_SIZE)); 549 if (Page.Size > PAGE_SIZE) 553 Page.Size -= PAGE_SIZE; 555 paPages[iOut].Size = PAGE_SIZE; 557 } while (Page.Size > PAGE_SIZE); [all...] |
H A D | alloc-r0drv-os2.cpp | 84 cb = RT_ALIGN_Z(cb, PAGE_SIZE); /* -> page aligned result. */
|
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | SysHlp.h | 33 # undef PAGE_SIZE macro
|
/vbox/src/VBox/Runtime/r0drv/haiku/ |
H A D | alloc-r0drv-haiku.c | 89 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | alloc-r0drv-nt.cpp | 78 * rounded up to PAGE_SIZE. 95 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
|
H A D | the-nt-kernel.h | 63 # define PAGE_OFFSET_MASK (PAGE_SIZE - 1)
|
/vbox/src/VBox/Runtime/r3/ |
H A D | alloc-ef.h | 50 #define RTALLOC_EFENCE_SIZE PAGE_SIZE
|
/vbox/src/VBox/Runtime/r3/darwin/ |
H A D | systemmem-darwin.cpp | 81 *pcb = cPages * PAGE_SIZE;
|
/vbox/src/VBox/VMM/testcase/ |
H A D | tstX86-1.cpp | 195 g_pbEfPage = (uint8_t *)RTTestGuardedAllocTail(hTest, PAGE_SIZE); 198 g_pbEfExecPage = (uint8_t *)RTMemExecAlloc(PAGE_SIZE*2); 201 RTTESTI_CHECK_RC(RTMemProtect(g_pbEfExecPage + PAGE_SIZE, PAGE_SIZE, RTMEM_PROT_NONE), VINF_SUCCESS);
|
H A D | tstVMStructSize.cpp | 194 CHECK_SIZE(X86PD, PAGE_SIZE); 196 CHECK_SIZE(X86PT, PAGE_SIZE); 198 CHECK_SIZE(X86PTPAE, PAGE_SIZE); 200 CHECK_SIZE(X86PDPAE, PAGE_SIZE); 202 CHECK_SIZE(X86PDPT, PAGE_SIZE); 204 CHECK_SIZE(X86PML4, PAGE_SIZE); 259 if ((RT_OFFSETOF(VM, selm.s.Tss) & PAGE_OFFSET_MASK) > PAGE_SIZE - sizeof(pVM->selm.s.Tss)) 265 if ((RT_OFFSETOF(VM, selm.s.TssTrap08) & PAGE_OFFSET_MASK) > PAGE_SIZE - sizeof(pVM->selm.s.TssTrap08)) 271 CHECK_MEMBER_ALIGNMENT(VM, aCpus[0], PAGE_SIZE); 272 CHECK_MEMBER_ALIGNMENT(VM, aCpus[1], PAGE_SIZE); [all...] |
/vbox/src/VBox/Runtime/common/alloc/ |
H A D | memcache.cpp | 167 AssertReturn(cbObject <= PAGE_SIZE / 8, VERR_INVALID_PARAMETER); 207 pThis->cPerPage = (uint32_t)((PAGE_SIZE - RT_ALIGN_Z(sizeof(RTMEMCACHEPAGE), cbAlignment)) / pThis->cbObject); 211 > PAGE_SIZE) 268 RTMemPageFree(pPage, PAGE_SIZE); 302 PRTMEMCACHEPAGE pPage = (PRTMEMCACHEPAGE)RTMemPageAlloc(PAGE_SIZE); 315 pb = (uint8_t *)pPage + PAGE_SIZE - pThis->cbObject * cObjects; 463 Assert((uintptr_t)pvObj - (uintptr_t)pPage < PAGE_SIZE);
|
/vbox/src/VBox/ValidationKit/utils/cpu/ |
H A D | cidet-app.cpp | 620 pBuf->pbNormal = (uint8_t *)RTMemPageAlloc(PAGE_SIZE + pBuf->cb + PAGE_SIZE); 623 memset(pBuf->pbNormal, 0x55, PAGE_SIZE); 624 memset(pBuf->pbNormal + PAGE_SIZE, 0xcc, pBuf->cb); 625 memset(pBuf->pbNormal + PAGE_SIZE + pBuf->cb, 0x77, PAGE_SIZE); 628 rc = RTMemProtect(pBuf->pbNormal, PAGE_SIZE, RTMEM_PROT_NONE); /* fence */ 630 rc = RTMemProtect(pBuf->pbNormal + PAGE_SIZE + pBuf->cb, PAGE_SIZE, RTMEM_PROT_NONE); /* fence */ 631 pBuf->pbNormal += PAGE_SIZE; [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | PGMAllPhys.cpp | 682 memcpy(pvNewPage, pvSharedPage, PAGE_SIZE); /** @todo todo write ASMMemCopyPage */ 739 for (iPage = 0; iPage < _2M/PAGE_SIZE; iPage++) 751 GCPhys += PAGE_SIZE; 753 if (iPage != _2M/PAGE_SIZE) 817 GCPhys += PAGE_SIZE; 818 for (i = 1; i < _2M/PAGE_SIZE; i++) 833 GCPhys += PAGE_SIZE; 837 if (i == _2M/PAGE_SIZE) 2242 size_t cb = PAGE_SIZE - (off & PAGE_OFFSET_MASK); 2498 uint32_t offVirt = PAGE_SIZE; [all...] |