Home
last modified time | relevance | path

Searched refs:oldRegion (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_map.c246 LosVmMapRegion *oldRegion = NULL; in LOS_VmSpaceClone() local
273 oldRegion = (LosVmMapRegion *)pstRbNode; in LOS_VmSpaceClone()
274 … newRegion = OsVmRegionDup(newVmSpace, oldRegion, oldRegion->range.base, oldRegion->range.size); in LOS_VmSpaceClone()
282 if (oldRegion->regionFlags & VM_MAP_REGION_FLAG_SHM) { in LOS_VmSpaceClone()
283 OsShmFork(newVmSpace, oldRegion, newRegion); in LOS_VmSpaceClone()
288 if (oldRegion == oldVmSpace->heap) { in LOS_VmSpaceClone()
310 if (LOS_IsRegionFileValid(oldRegion)) { in LOS_VmSpaceClone()
312 LOS_SpinLockSave(&oldRegion->unTypeData.rf.vnode->mapping.list_lock, &intSave); in LOS_VmSpaceClone()
313 … fpage = OsFindGetEntry(&oldRegion->unTypeData.rf.vnode->mapping, newRegion->pgOff + i); in LOS_VmSpaceClone()
317 LOS_SpinUnlockRestore(&oldRegion->unTypeData.rf.vnode->mapping.list_lock, intSave); in LOS_VmSpaceClone()
[all …]
Dshm.c333 VOID OsShmFork(LosVmSpace *space, LosVmMapRegion *oldRegion, LosVmMapRegion *newRegion) in OsShmFork() argument
338 seg = ShmFindSeg(oldRegion->shmid); in OsShmFork()
345 newRegion->shmid = oldRegion->shmid; in OsShmFork()
346 newRegion->forkFlags = oldRegion->forkFlags; in OsShmFork()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_shm_pri.h44 VOID OsShmFork(LosVmSpace *space, LosVmMapRegion *oldRegion, LosVmMapRegion *newRegion);
Dlos_vm_map.h286 LosVmMapRegion *OsVmRegionDup(LosVmSpace *space, LosVmMapRegion *oldRegion, VADDR_T vaddr, size_t s…