Home
last modified time | relevance | path

Searched refs:mapSize (Results 1 – 13 of 13) sorted by relevance

/kernel/liteos_a/kernel/extended/lms/usr/
Dlos_lms.c40 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/
Dresize.c61 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()
Djfs_dmap.c719 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/
Dlos_load_elf.c400 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/
Dlos_user_container.c424 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/
Dlos_vm_map.c164 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()
Dlos_vm_syscall.c55 if (len > OsCurrProcessGet()->vmSpace->mapSize) { in OsCheckMMapParams()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h121 UINT32 mapSize; /**< vm space mapping area size */ member
Dlos_process_pri.h536 extern UINT32 OsExecStart(const TSK_ENTRY_FUNC entry, UINTPTR sp, UINTPTR mapBase, UINT32 mapSize);
/kernel/liteos_a/kernel/base/core/
Dlos_task.c359 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()
Dlos_process.c1698 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/
Dprocess_proc.c214 (void)LosBufPrintf(seqBuf, "VMSpaceMapSize: %u byte\n", vmSpace->mapSize); in ProcessMemInfoRead()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch48421 + 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);