Searched refs:pvMemory (Results 1 - 7 of 7) sorted by relevance

/vbox/include/iprt/
H A Dheap.h49 * @param pvMemory Pointer to the heap memory.
52 RTDECL(int) RTHeapSimpleInit(PRTHEAPSIMPLE pHeap, void *pvMemory, size_t cbMemory);
212 * @param pvMemory Pointer to the heap memory.
215 RTDECL(int) RTHeapOffsetInit(PRTHEAPOFFSET phHeap, void *pvMemory, size_t cbMemory);
H A Dmem.h421 * @param pvMemory Pointer to the memory block.
424 RTR0DECL(int) RTR0MemExecDonate(void *pvMemory, size_t cb) RT_NO_THROW;
/vbox/src/VBox/Runtime/common/alloc/
H A Dheapoffset.cpp363 RTDECL(int) RTHeapOffsetInit(PRTHEAPOFFSET phHeap, void *pvMemory, size_t cbMemory) argument
374 AssertPtrReturn(pvMemory, VERR_INVALID_POINTER);
375 AssertReturn((uintptr_t)pvMemory + (cbMemory - 1) > (uintptr_t)cbMemory, VERR_INVALID_PARAMETER);
381 pHeapInt = (PRTHEAPOFFSETINTERNAL)pvMemory;
382 if ((uintptr_t)pvMemory & 31)
384 const uintptr_t off = 32 - ((uintptr_t)pvMemory & 31);
386 pHeapInt = (PRTHEAPOFFSETINTERNAL)((uintptr_t)pvMemory + off);
H A Dheapsimple.cpp280 RTDECL(int) RTHeapSimpleInit(PRTHEAPSIMPLE phHeap, void *pvMemory, size_t cbMemory) argument
290 AssertPtrReturn(pvMemory, VERR_INVALID_POINTER);
291 AssertReturn((uintptr_t)pvMemory + (cbMemory - 1) > (uintptr_t)cbMemory, VERR_INVALID_PARAMETER);
297 pHeapInt = (PRTHEAPSIMPLEINTERNAL)pvMemory;
298 if ((uintptr_t)pvMemory & 31)
300 const uintptr_t off = 32 - ((uintptr_t)pvMemory & 31);
302 pHeapInt = (PRTHEAPSIMPLEINTERNAL)((uintptr_t)pvMemory + off);
/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuest-haiku-stubs.c420 int RTHeapOffsetInit(PRTHEAPOFFSET phHeap, void *pvMemory, size_t cbMemory) argument
422 return g_VBoxGuest->_RTHeapOffsetInit(phHeap, pvMemory, cbMemory);
424 int RTHeapSimpleInit(PRTHEAPSIMPLE pHeap, void *pvMemory, size_t cbMemory) argument
426 return g_VBoxGuest->_RTHeapSimpleInit(pHeap, pvMemory, cbMemory);
H A DVBoxGuest-haiku.h204 int (*_RTHeapOffsetInit)(PRTHEAPOFFSET phHeap, void *pvMemory, size_t cbMemory);
205 int (*_RTHeapSimpleInit)(PRTHEAPSIMPLE pHeap, void *pvMemory, size_t cbMemory);
/vbox/src/VBox/Runtime/r0drv/linux/
H A Dalloc-r0drv-linux.c127 * @param pvMemory Pointer to the memory block.
130 RTR0DECL(int) RTR0MemExecDonate(void *pvMemory, size_t cb) argument
139 rc = RTHeapSimpleInit(&g_HeapExec, pvMemory, cb);

Completed in 4440 milliseconds