Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_map.c244 STATUS_T LOS_VmSpaceClone(UINT32 cloneFlags, LosVmSpace *oldVmSpace, LosVmSpace *newVmSpace) in LOS_VmSpaceClone() argument
254 if ((OsVmSpaceParamCheck(oldVmSpace) == FALSE) || (OsVmSpaceParamCheck(newVmSpace) == FALSE)) { in LOS_VmSpaceClone()
258 if ((OsIsVmRegionEmpty(oldVmSpace) == TRUE) || (oldVmSpace == &g_kVmSpace)) { in LOS_VmSpaceClone()
263 newVmSpace->mapBase = oldVmSpace->mapBase; in LOS_VmSpaceClone()
264 newVmSpace->heapBase = oldVmSpace->heapBase; in LOS_VmSpaceClone()
265 newVmSpace->heapNow = oldVmSpace->heapNow; in LOS_VmSpaceClone()
266 (VOID)LOS_MuxAcquire(&oldVmSpace->regionMux); in LOS_VmSpaceClone()
267 RB_SCAN_SAFE(&oldVmSpace->regionRbTree, pstRbNode, pstRbNodeNext) in LOS_VmSpaceClone()
288 if (oldRegion == oldVmSpace->heap) { in LOS_VmSpaceClone()
295 if (LOS_ArchMmuQuery(&oldVmSpace->archMmu, vaddr, &paddr, &flags) != LOS_OK) { in LOS_VmSpaceClone()
[all …]
Dlos_vm_dump.c243 RB_SCAN_SAFE_END(&oldVmSpace->regionRbTree, pstRbNode, pstRbNodeNext) in OsUProcessPmUsage() local
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h293 STATUS_T LOS_VmSpaceClone(UINT32 cloneFlags, LosVmSpace *oldVmSpace, LosVmSpace *newVmSpace);