Home
last modified time | relevance | path

Searched refs:oldPaddr (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_fault.c176 PADDR_T oldPaddr = 0; in OsDoCowFault() local
189 ret = LOS_ArchMmuQuery(&space->archMmu, (VADDR_T)vmPgFault->vaddr, &oldPaddr, NULL); in OsDoCowFault()
217 if ((oldPaddr == 0) || (LOS_PaddrToKVaddr(oldPaddr) == vmPgFault->pageKVaddr)) { in OsDoCowFault()
222 OsPhysSharePageCopy(oldPaddr, &newPaddr, newPage); in OsDoCowFault()
224 if (newPaddr == oldPaddr) { in OsDoCowFault()
344 PADDR_T oldPaddr; in OsVmPageFaultHandler() local
420 status = LOS_ArchMmuQuery(&space->archMmu, vaddr, &oldPaddr, NULL); in OsVmPageFaultHandler()
423 OsPhysSharePageCopy(oldPaddr, &newPaddr, newPage); in OsVmPageFaultHandler()
425 if (newPaddr == oldPaddr) { in OsVmPageFaultHandler()
Dlos_vm_phys.c540 VOID OsPhysSharePageCopy(PADDR_T oldPaddr, PADDR_T *newPaddr, LosVmPage *newPage) in OsPhysSharePageCopy() argument
553 oldPage = LOS_VmPageGet(oldPaddr); in OsPhysSharePageCopy()
555 VM_ERR("invalid oldPaddr %p", oldPaddr); in OsPhysSharePageCopy()
562 *newPaddr = oldPaddr; in OsPhysSharePageCopy()
565 oldMem = LOS_PaddrToKVaddr(oldPaddr); in OsPhysSharePageCopy()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_phys.h102 VOID OsPhysSharePageCopy(PADDR_T oldPaddr, PADDR_T *newPaddr, LosVmPage *newPage);