Lines Matching defs:pNewRoot
1356 PCFGMNODE pNewRoot = CFGMR3CreateTree(pRoot->pVM ? pRoot->pVM->pUVM : NULL);
1357 if (!pNewRoot)
1365 PCFGMNODE pDstCur = pNewRoot;
1430 CFGMR3RemoveNode(pNewRoot);
1434 *ppCopy = pNewRoot;
1506 * @param pNewRoot The tree to replace @a pRoot with. This not will
1509 VMMR3DECL(int) CFGMR3ReplaceSubTree(PCFGMNODE pRoot, PCFGMNODE pNewRoot)
1515 AssertPtrReturn(pNewRoot, VERR_INVALID_POINTER);
1516 AssertReturn(pRoot != pNewRoot, VERR_INVALID_PARAMETER);
1517 AssertReturn(!pNewRoot->pParent, VERR_INVALID_PARAMETER);
1518 AssertReturn(pNewRoot->pVM == pRoot->pVM, VERR_INVALID_PARAMETER);
1519 AssertReturn(!pNewRoot->pNext, VERR_INVALID_PARAMETER);
1520 AssertReturn(!pNewRoot->pPrev, VERR_INVALID_PARAMETER);
1534 pRoot->pFirstLeaf = pNewRoot->pFirstLeaf;
1535 pRoot->pFirstChild = pNewRoot->pFirstChild;
1539 cfgmR3FreeNodeOnly(pNewRoot);