Lines Matching refs:pNew
490 PMMHYPERCHUNKFREE pNew = (PMMHYPERCHUNKFREE)((char *)&pFree->core + off);
491 *pNew = *pFree;
492 pNew->cb -= off;
493 if (pNew->core.offNext)
495 pNew->core.offNext -= off;
496 PMMHYPERCHUNK pNext = (PMMHYPERCHUNK)((char *)pNew + pNew->core.offNext);
497 MMHYPERCHUNK_SET_OFFPREV(pNext, -(int32_t)pNew->core.offNext);
500 pNew->core.offPrev = -off;
501 MMHYPERCHUNK_SET_TYPE(pNew, MMHYPERCHUNK_FLAGS_FREE);
503 if (pNew->offNext)
505 pNew->offNext -= off;
506 PMMHYPERCHUNKFREE pNext = (PMMHYPERCHUNKFREE)((char *)pNew + pNew->offNext);
507 pNext->offPrev = -(int32_t)pNew->offNext;
512 if (pNew->offPrev)
514 pNew->offPrev -= off;
515 PMMHYPERCHUNKFREE pPrev = (PMMHYPERCHUNKFREE)((char *)pNew + pNew->offPrev);
516 pPrev->offNext = -pNew->offPrev;
521 pNew->core.offHeap = (uintptr_t)pHeap - (uintptr_t)pNew;
522 pNew->core.offStat = 0;
523 ASSERT_CHUNK_FREE(pHeap, pNew);
537 Log3(("mmHyperAllocChunk: Created free chunk pNew=%p cb=%d\n", pNew, pNew->cb));