/kernel/liteos_a/kernel/extended/lms/usr/ |
D | los_lms.c | 40 size_t mapSize; member 63 if ((sdStartAddr >= node->addr) && (sdEndAddr < node->addr + node->mapSize)) { in LmsIsShadowAddrMapped() 75 size_t mapSize; in LmsAddMapNode() local 82 … if ((shadowPageStartAddr >= node->addr) && (shadowPageStartAddr <= node->addr + node->mapSize)) { in LmsAddMapNode() 90 shadowPageStartAddr = expandNode->addr + expandNode->mapSize; in LmsAddMapNode() 91 expandNode->mapSize = shadowPageEndAddr - expandNode->addr; in LmsAddMapNode() 94 mapSize = shadowPageEndAddr - shadowPageStartAddr; in LmsAddMapNode() 96 …mmap((void *)shadowPageStartAddr, mapSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1… in LmsAddMapNode() 101 __real_memset(mapPtr, 0, mapSize); in LmsAddMapNode() 115 newNode->mapSize = mapSize; in LmsAddMapNode()
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | resize.c | 61 s64 newMapSize = 0, mapSize; in jfs_extendfs() local 301 mapSize = bmp->db_mapsize; in jfs_extendfs() 302 XAddress = mapSize; /* eXtension Address */ in jfs_extendfs() 303 XSize = newMapSize - mapSize; /* eXtension Size */ in jfs_extendfs() 308 if (mapSize > t64) { in jfs_extendfs() 310 (long long) mapSize, (long long) t64); in jfs_extendfs() 314 nblocks = min(t64 - mapSize, XSize); in jfs_extendfs()
|
D | jfs_dmap.c | 719 s64 mapSize; in dbAlloc() local 733 mapSize = bmp->db_mapsize; in dbAlloc() 736 if (hint >= mapSize) { in dbAlloc()
|
/kernel/liteos_a/kernel/extended/dynload/src/ |
D | los_load_elf.c | 400 UINT32 mapSize) in OsDoMmapFile() argument 407 if (mapSize != 0) { in OsDoMmapFile() 408 mapAddr = (UINTPTR)LOS_MMap(addr, mapSize, prot, flags, fd, offset >> PAGE_SHIFT); in OsDoMmapFile() 483 UINT32 mapSize, UINTPTR *loadBase) in OsMmapELFFile() argument 511 mapAddr = OsDoMmapFile(fd, (vAddr + *loadBase), elfPhdrTemp, elfProt, elfFlags, mapSize); in OsMmapELFFile() 520 mapSize = 0; in OsMmapELFFile() 546 UINT32 mapSize; in OsLoadInterpBinary() local 549 mapSize = OsGetAllocSize(loadInfo->interpInfo.elfPhdr, loadInfo->interpInfo.elfEhdr.elfPhNum); in OsLoadInterpBinary() 550 if (mapSize == 0) { in OsLoadInterpBinary() 556 interpMapBase, mapSize, &loadBase); in OsLoadInterpBinary() [all …]
|
/kernel/liteos_a/kernel/extended/container/ |
D | los_user_container.c | 424 size_t mapSize = newMap.extentCount * sizeof(newMap.extent[0]); in OsUserContainerMapWrite() local 425 ret = memcpy_s(map->extent, sizeof(map->extent), newMap.extent, mapSize); in OsUserContainerMapWrite()
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_map.c | 164 vmSpace->mapSize = KERNEL_VMM_SIZE; in OsKernVmSpaceInit() 177 vmSpace->mapSize = VMALLOC_SIZE; in OsVMallocSpaceInit() 197 vmSpace->mapSize = USER_MAP_SIZE; in OsUserVmSpaceInit() 403 nextStart = vmSpace->mapBase + vmSpace->mapSize; in OsAllocRange()
|
D | los_vm_syscall.c | 55 if (len > OsCurrProcessGet()->vmSpace->mapSize) { in OsCheckMMapParams()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_map.h | 121 UINT32 mapSize; /**< vm space mapping area size */ member
|
D | los_process_pri.h | 536 extern UINT32 OsExecStart(const TSK_ENTRY_FUNC entry, UINTPTR sp, UINTPTR mapBase, UINT32 mapSize);
|
/kernel/liteos_a/kernel/base/core/ |
D | los_task.c | 359 UINT32 mapSize = taskCB->userMapSize; in OsTaskResourcesToFree() local 366 UINT32 ret = OsUnMMap(OsProcessVmSpaceGet(processCB), (UINTPTR)mapBase, mapSize); in OsTaskResourcesToFree() 369 processCB->processID, taskCB->taskID, mapBase, mapSize, ret); in OsTaskResourcesToFree()
|
D | los_process.c | 1698 processCB->vmSpace->mapSize = stackBase - processCB->vmSpace->mapBase; in OsExecProcessVmSpaceReplace() 1754 …EC_TEXT UINT32 OsExecStart(const TSK_ENTRY_FUNC entry, UINTPTR sp, UINTPTR mapBase, UINT32 mapSize) in OsExecStart() argument 1766 if ((mapBase == 0) || (mapSize == 0) || (sp <= mapBase) || (sp > (mapBase + mapSize))) { in OsExecStart() 1774 taskCB->userMapSize = mapSize; in OsExecStart()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | process_proc.c | 214 (void)LosBufPrintf(seqBuf, "VMSpaceMapSize: %u byte\n", vmSpace->mapSize); in ProcessMemInfoRead()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 48421 + gctSIZE_T mapSize; 48433 + mapSize = context->maxState * gcmSIZEOF(gcsSTATE_MAP); 48435 + gcmkONERROR(gckOS_Allocate(Os, mapSize, (gctPOINTER *)&recorder->mirror.map)); 48437 + gckOS_MemCopy(recorder->mirror.map, context->map, mapSize);
|