/kernel/liteos_a/kernel/base/include/ |
D | los_vm_map.h | 69 typedef struct VmSpace LosVmSpace; typedef 87 LosVmSpace *space; 127 } LosVmSpace; typedef 257 STATIC INLINE BOOL OsIsVmRegionEmpty(LosVmSpace *vmSpace) in OsIsVmRegionEmpty() 265 LosVmSpace *LOS_GetKVmSpace(VOID); 267 LosVmSpace *LOS_GetVmallocSpace(VOID); 270 BOOL LOS_IsRangeInSpace(const LosVmSpace *space, VADDR_T vaddr, size_t size); 271 STATUS_T LOS_VmSpaceReserve(LosVmSpace *space, size_t size, VADDR_T vaddr); 272 INT32 OsUserHeapFree(LosVmSpace *vmSpace, VADDR_T addr, size_t len); 273 VADDR_T OsAllocRange(LosVmSpace *vmSpace, size_t len); [all …]
|
D | los_vm_dump.h | 60 INT32 OsRegionOverlapCheckUnlock(LosVmSpace *space, LosVmMapRegion *region); 61 UINT32 OsShellCmdProcessVmUsage(LosVmSpace *space); 62 UINT32 OsShellCmdProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm); 63 UINT32 OsUProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm); 64 UINT32 OsKProcessPmUsage(LosVmSpace *kAspace, UINT32 *actualPm); 65 VOID OsDumpAspace(LosVmSpace *space); 66 UINT32 OsCountRegionPages(LosVmSpace *space, LosVmMapRegion *region, UINT32 *pssPages); 67 UINT32 OsCountAspacePages(LosVmSpace *space); 71 INT32 OsRegionOverlapCheck(LosVmSpace *space, LosVmMapRegion *region); 73 LosProcessCB *OsGetPIDByAspace(const LosVmSpace *space);
|
D | los_process_pri.h | 114 LosVmSpace *vmSpace; /**< VMM space for processes */ 437 STATIC INLINE LosVmSpace *OsProcessVmSpaceGet(const LosProcessCB *processCB) in OsProcessVmSpaceGet() 533 extern VOID OsExecProcessVmSpaceRestore(LosVmSpace *oldSpace); 534 extern LosVmSpace *OsExecProcessVmSpaceReplace(LosVmSpace *newSpace, UINTPTR stackBase, INT32 rando… 535 extern UINT32 OsExecRecycleAndInit(LosProcessCB *processCB, const CHAR *name, LosVmSpace *oldAspace…
|
D | los_vm_shm_pri.h | 62 VOID OsShmFork(LosVmSpace *space, LosVmMapRegion *oldRegion, LosVmMapRegion *newRegion); 63 VOID OsShmRegionFree(LosVmSpace *space, LosVmMapRegion *region);
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_map.c | 57 LosVmSpace g_kVmSpace; 58 LosVmSpace g_vMallocSpace; 60 LosVmSpace *LOS_CurrSpaceGet(VOID) in LOS_CurrSpaceGet() 65 LosVmSpace *LOS_SpaceGet(VADDR_T vaddr) in LOS_SpaceGet() 78 LosVmSpace *LOS_GetKVmSpace(VOID) in LOS_GetKVmSpace() 88 LosVmSpace *LOS_GetVmallocSpace(VOID) in LOS_GetVmallocSpace() 134 STATIC BOOL OsVmSpaceInitCommon(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsVmSpaceInitCommon() 159 BOOL OsKernVmSpaceInit(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsKernVmSpaceInit() 172 BOOL OsVMallocSpaceInit(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsVMallocSpaceInit() 192 BOOL OsUserVmSpaceInit(LosVmSpace *vmSpace, VADDR_T *virtTtb) in OsUserVmSpaceInit() [all …]
|
D | los_vm_dump.c | 85 INT32 OsRegionOverlapCheckUnlock(LosVmSpace *space, LosVmMapRegion *region) in OsRegionOverlapCheckUnlock() 111 UINT32 OsShellCmdProcessVmUsage(LosVmSpace *space) in OsShellCmdProcessVmUsage() 139 UINT32 OsKProcessPmUsage(LosVmSpace *kSpace, UINT32 *actualPm) in OsKProcessPmUsage() 146 LosVmSpace *space = NULL; in OsKProcessPmUsage() 165 LOS_DL_LIST_FOR_EACH_ENTRY(space, spaceList, LosVmSpace, node) { in OsKProcessPmUsage() 182 UINT32 OsShellCmdProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm) in OsShellCmdProcessPmUsage() 198 UINT32 OsUProcessPmUsage(LosVmSpace *space, UINT32 *sharePm, UINT32 *actualPm) in OsUProcessPmUsage() 254 LosProcessCB *OsGetPIDByAspace(const LosVmSpace *space) in OsGetPIDByAspace() 276 UINT32 OsCountRegionPages(LosVmSpace *space, LosVmMapRegion *region, UINT32 *pssPages) in OsCountRegionPages() 310 UINT32 OsCountAspacePages(LosVmSpace *space) in OsCountAspacePages() [all …]
|
D | los_vm_syscall.c | 112 LosVmSpace *vmSpace = OsCurrProcessGet()->vmSpace; in LOS_MMap() 190 VOID *OsShrinkHeap(VOID *addr, LosVmSpace *space) in OsShrinkHeap() 205 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoBrk() 283 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoMprotect() 356 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in OsMremapCheck() 411 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in LOS_DoMremap() 502 LosVmSpace *space = NULL; in LOS_DumpMemRegion()
|
D | los_vm_fault.c | 106 LosVmSpace *space = region->space; in OsDoReadFault() 180 LosVmSpace *space = NULL; in OsDoCowFault() 262 LosVmSpace *space = region->space; in OsDoSharedFault() 341 LosVmSpace *space = LOS_SpaceGet(vaddr); in OsVmPageFaultHandler()
|
D | shm.c | 345 STATIC VOID ShmVmmMapping(LosVmSpace *space, LOS_DL_LIST *pageList, VADDR_T vaddr, UINT32 regionFla… in ShmVmmMapping() 363 VOID OsShmFork(LosVmSpace *space, LosVmMapRegion *oldRegion, LosVmMapRegion *newRegion) in OsShmFork() 382 VOID OsShmRegionFree(LosVmSpace *space, LosVmMapRegion *region) in OsShmRegionFree() 533 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in ShmatVmmAlloc() 748 LosVmSpace *space = OsCurrProcessGet()->vmSpace; in ShmDt()
|
/kernel/liteos_a/kernel/extended/dynload/include/ |
D | los_load_elf.h | 115 LosVmSpace *newSpace; 116 LosVmSpace *oldSpace;
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | vmm_proc.c | 46 LosVmSpace *space = NULL; in OsVmDumpSeqSpaces() 58 LOS_DL_LIST_FOR_EACH_ENTRY(space, aspaceList, LosVmSpace, node) { in OsVmDumpSeqSpaces()
|
D | process_proc.c | 195 unsigned int size = sizeof(LosVmSpace) + sizeof(LosVmMapRegion); in ProcessMemInfoRead() 196 LosVmSpace *vmSpace = (LosVmSpace *)LOS_MemAlloc(m_aucSysMem1, size); in ProcessMemInfoRead() 201 LosVmMapRegion *heap = (LosVmMapRegion *)((char *)vmSpace + sizeof(LosVmSpace)); in ProcessMemInfoRead() 209 (void)memcpy_s(vmSpace, sizeof(LosVmSpace), pcb->vmSpace, sizeof(LosVmSpace)); in ProcessMemInfoRead()
|
/kernel/liteos_a/syscall/ |
D | syscall_pub.c | 33 int CheckRegion(const LosVmSpace *space, VADDR_T ptr, size_t len) in CheckRegion() 35 LosVmMapRegion *region = LOS_RegionFind((LosVmSpace *)space, ptr); in CheckRegion()
|
D | syscall_pub.h | 43 extern int CheckRegion(const LosVmSpace *space, VADDR_T ptr, size_t len); 56 LosVmSpace *__aspace = OsCurrProcessGet()->vmSpace; \
|
/kernel/liteos_a/drivers/char/mem/src/ |
D | mem.c | 62 LosVmSpace *space = LOS_SpaceGet(vaddr); in MemMap()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_info.c | 113 STATIC VOID GetProcessMemInfo(ProcessInfo *pcbInfo, const LosProcessCB *processCB, LosVmSpace *vmSp… in GetProcessMemInfo() 218 LosVmSpace *vmSpace = processCB->vmSpace;
|
D | los_process.c | 643 LosVmSpace *space = NULL; in OsProcessCBRecycleToFree() 1675 LITE_OS_SEC_TEXT VOID OsExecProcessVmSpaceRestore(LosVmSpace *oldSpace) in OsExecProcessVmSpaceRestore() 1685 LITE_OS_SEC_TEXT LosVmSpace *OsExecProcessVmSpaceReplace(LosVmSpace *newSpace, UINTPTR stackBase, I… in OsExecProcessVmSpaceReplace() 1693 LosVmSpace *oldSpace = processCB->vmSpace; in OsExecProcessVmSpaceReplace() 1705 LosVmSpace *oldSpace, UINTPTR oldFiles) in OsExecRecycleAndInit()
|
/kernel/liteos_a/kernel/extended/vdso/src/ |
D | los_vdso.c | 57 STATIC INT32 OsVdsoMap(LosVmSpace *space, size_t len, PADDR_T paddr, VADDR_T vaddr, UINT32 flag) in OsVdsoMap()
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_exc.c | 425 STATIC VOID OsDumpExcVaddrRegion(LosVmSpace *space, LosVmMapRegion *region) in OsDumpExcVaddrRegion() 467 STATIC VOID OsDumpProcessUsedMemRegion(LosProcessCB *runProcess, LosVmSpace *runspace, UINT16 vmmFl… in OsDumpProcessUsedMemRegion() 489 LosVmSpace *runspace = NULL; in OsDumpProcessUsedMemNode() 631 LosVmSpace *runspace = runProcess->vmSpace; in IsValidFP() 1130 LosVmSpace *space = LOS_SpaceGet(vaddr); in OsPrintExcHead()
|
D | los_arch_mmu.c | 975 LosVmSpace *kSpace = LOS_GetKVmSpace(); in OsSwitchTmpTTB() 1033 LosVmSpace *kSpace = LOS_GetKVmSpace(); in OsSetKSectionAttr() 1096 LosVmSpace *kSpace = LOS_GetKVmSpace(); in OsKSectionNewAttrEnable()
|
/kernel/liteos_a/kernel/base/misc/ |
D | vm_shellcmd.c | 60 LosVmSpace *kAspace = LOS_GetKVmSpace(); in OsDumpKernelAspace()
|
/kernel/liteos_a/kernel/extended/dynload/src/ |
D | los_load_elf.c | 423 INT32 OsGetKernelVaddr(LosVmSpace *space, VADDR_T vaddr, VADDR_T *kvaddr) in OsGetKernelVaddr() 748 STATIC UINT32 OsStackAlloc(LosVmSpace *space, VADDR_T vaddr, UINT32 vsize, UINT32 psize, UINT32 reg… in OsStackAlloc()
|