Home
last modified time | relevance | path

Searched refs:newSize (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_syscall.c405 VADDR_T LOS_DoMremap(VADDR_T oldAddress, size_t oldSize, size_t newSize, int flags, VADDR_T newAddr) in LOS_DoMremap() argument
414 newSize = LOS_Align(newSize, PAGE_SIZE); in LOS_DoMremap()
418 status = OsMremapCheck(oldAddress, oldSize, newAddr, newSize, (unsigned int)flags); in LOS_DoMremap()
438 regionNew = OsVmRegionDup(space, regionOld, newAddr, newSize); in LOS_DoMremap()
444 … ((newSize < regionOld->range.size) ? newSize : regionOld->range.size) >> PAGE_SHIFT, in LOS_DoMremap()
456 if (oldSize > newSize) { in LOS_DoMremap()
457 LOS_UnMMap(oldAddress + newSize, oldSize - newSize); in LOS_DoMremap()
461 status = OsIsRegionCanExpand(space, regionOld, newSize); in LOS_DoMremap()
464 regionOld->range.size = newSize; in LOS_DoMremap()
470 regionNew = OsVmRegionDup(space, regionOld, 0, newSize); in LOS_DoMremap()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_syscall.h63 VADDR_T LOS_DoMremap(VADDR_T oldAddress, size_t oldSize, size_t newSize, int flags, VADDR_T newAddr…
/kernel/linux/linux-5.10/lib/zstd/
Dhuf_compress.c728 size_t const newSize = HUF_estimateCompressedSize(CTable, count, maxSymbolValue); in HUF_compress_internal() local
729 if (oldSize <= hSize + newSize || hSize + 12 >= srcSize) { in HUF_compress_internal()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch68730 + gctUINT newSize;
68746 + newSize = EntryCount * gcmSIZEOF(gcsKERNEL_CMDQUEUE);
68747 + gcmkASSERT(newSize <= queueSize);
68750 + unusedSize = queueSize - newSize;
68762 + + newSize
68775 + queueHead->size = newSize;