Searched refs:oldMem (Results 1 – 1 of 1) sorted by relevance
545 VOID *oldMem = NULL; in OsPhysSharePageCopy() local565 oldMem = LOS_PaddrToKVaddr(oldPaddr); in OsPhysSharePageCopy()566 if ((newMem == NULL) || (oldMem == NULL)) { in OsPhysSharePageCopy()570 if (memcpy_s(newMem, PAGE_SIZE, oldMem, PAGE_SIZE) != EOK) { in OsPhysSharePageCopy()