Searched refs:PAGE_SIZE (Results 26 - 50 of 196) sorted by relevance

12345678

/vbox/src/VBox/Runtime/r0drv/linux/
H A Dmemobj-r0drv-linux.c320 || 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 Dregops.c31 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 DtstRTHeapSimple.cpp83 { PAGE_SIZE, PAGE_SIZE, NULL, 13 }, // 10
85 { PAGE_SIZE, 32, NULL, 11 },
86 { PAGE_SIZE, PAGE_SIZE, NULL, 14 },
H A DtstRTMemSafer.cpp109 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 DtstRTHeapOffset.cpp86 { 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 Dmemobj-r0drv-solaris.c152 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 Dvirtio-ring.h4 #define PAGE_SIZE (1<<PAGE_SHIFT) macro
5 #define PAGE_MASK (PAGE_SIZE-1)
/vbox/src/VBox/VMM/VMMR0/
H A DGIMR0Hv.cpp51 int rc = RTR0MemObjAllocCont(pMemObj, PAGE_SIZE, false /* fExecutable */);
56 ASMMemZero32(*ppVirt, PAGE_SIZE);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/common/
H A DVBoxMPUtils.h44 # ifdef PAGE_SIZE
45 # undef PAGE_SIZE
/vbox/src/VBox/Runtime/r0drv/freebsd/
H A Dalloc-r0drv-freebsd.c75 cbAllocated = RT_ALIGN_Z(cb + sizeof(*pHdr), PAGE_SIZE);
164 PAGE_SIZE, /* alignment. */
/vbox/src/VBox/Runtime/r3/solaris/
H A Dsystemmem-solaris.cpp115 *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 DipcLog.cpp51 # if defined(__OS2__) && defined(PAGE_SIZE)
52 # undef PAGE_SIZE macro
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dmemobj-r0drv-os2.cpp203 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 Dalloc-r0drv-os2.cpp84 cb = RT_ALIGN_Z(cb, PAGE_SIZE); /* -> page aligned result. */
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DSysHlp.h33 # undef PAGE_SIZE macro
/vbox/src/VBox/Runtime/r0drv/haiku/
H A Dalloc-r0drv-haiku.c89 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
/vbox/src/VBox/Runtime/r0drv/nt/
H A Dalloc-r0drv-nt.cpp78 * rounded up to PAGE_SIZE.
95 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
H A Dthe-nt-kernel.h63 # define PAGE_OFFSET_MASK (PAGE_SIZE - 1)
/vbox/src/VBox/Runtime/r3/
H A Dalloc-ef.h50 #define RTALLOC_EFENCE_SIZE PAGE_SIZE
/vbox/src/VBox/Runtime/r3/darwin/
H A Dsystemmem-darwin.cpp81 *pcb = cPages * PAGE_SIZE;
/vbox/src/VBox/VMM/testcase/
H A DtstX86-1.cpp195 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 DtstVMStructSize.cpp194 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 Dmemcache.cpp167 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 Dcidet-app.cpp620 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 DPGMAllPhys.cpp682 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...]

Completed in 139 milliseconds

12345678