Home
last modified time | relevance | path

Searched refs:regionRbTree (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_map.c136 … LOS_RbInitTree(&vmSpace->regionRbTree, OsRegionRbCmpKeyFn, OsRegionRbFreeFn, OsRegionRbGetKeyFn); in OsVmSpaceInitCommon()
267 RB_SCAN_SAFE(&oldVmSpace->regionRbTree, pstRbNode, pstRbNodeNext) in LOS_VmSpaceClone()
321 RB_SCAN_SAFE_END(&oldVmSpace->regionRbTree, pstRbNode, pstRbNodeNext) in LOS_VmSpaceClone()
326 LosVmMapRegion *OsFindRegion(LosRbTree *regionRbTree, VADDR_T vaddr, size_t len) in OsFindRegion() argument
334 if (LOS_RbGetNode(regionRbTree, (VOID *)&rangeKey, &pstRbNode)) { in OsFindRegion()
345 region = OsFindRegion(&vmSpace->regionRbTree, addr, 1); in LOS_RegionFind()
356 region = OsFindRegion(&vmSpace->regionRbTree, addr, len); in LOS_RegionRangeFind()
367 LosRbTree *regionRbTree = &vmSpace->regionRbTree; in OsAllocRange() local
375 RB_MID_SCAN(regionRbTree, pstRbNode) in OsAllocRange()
386 RB_MID_SCAN_END(regionRbTree, pstRbNode) in OsAllocRange()
[all …]
Dlos_vm_dump.c92 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsRegionOverlapCheckUnlock()
106 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsRegionOverlapCheckUnlock()
131 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsShellCmdProcessVmUsage()
134 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsShellCmdProcessVmUsage()
219 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsUProcessPmUsage()
243 RB_SCAN_SAFE_END(&oldVmSpace->regionRbTree, pstRbNode, pstRbNodeNext) in OsUProcessPmUsage()
317 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsCountAspacePages()
320 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsCountAspacePages()
413 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsDumpAspace()
421 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsDumpAspace()
Dlos_vm_syscall.c156 LOS_RbDelNode(&vmSpace->regionRbTree, &newRegion->rbNode); in LOS_MMap()
Dshm.c773 LOS_RbDelNode(&space->regionRbTree, &region->rbNode); in ShmDt()
/kernel/liteos_a/fs/proc/os_adapt/
Dvmm_proc.c75 RB_SCAN_SAFE(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsVmDumpSeqSpaces()
87 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNode, pstRbNodeNext) in OsVmDumpSeqSpaces()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h113 LosRbTree regionRbTree; /**< region red-black tree root */ member
259 if (vmSpace->regionRbTree.ulNodes == 0) { in OsIsVmRegionEmpty()
276 BOOL OsInsertRegion(LosRbTree *regionRbTree, LosVmMapRegion *region);
/kernel/liteos_a/arch/arm/arm/src/
Dlos_exc.c475 RB_SCAN_SAFE(&runspace->regionRbTree, pstRbNodeTemp, pstRbNodeNext) in OsDumpProcessUsedMemRegion()
483 RB_SCAN_SAFE_END(&space->regionRbTree, pstRbNodeTemp, pstRbNodeNext) in OsDumpProcessUsedMemRegion()