Searched refs:oldRegion (Results 1 – 4 of 4) sorted by relevance
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_map.c | 246 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 …]
|
D | shm.c | 333 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/ |
D | los_vm_shm_pri.h | 44 VOID OsShmFork(LosVmSpace *space, LosVmMapRegion *oldRegion, LosVmMapRegion *newRegion);
|
D | los_vm_map.h | 286 LosVmMapRegion *OsVmRegionDup(LosVmSpace *space, LosVmMapRegion *oldRegion, VADDR_T vaddr, size_t s…
|