Home
last modified time | relevance | path

Searched refs:ROUNDUP (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/boot/
Daddnote.c54 #define ROUNDUP(len) (((len) + 3) & ~3) macro
131 nnote = 12 + ROUNDUP(strlen(arch) + 1) + sizeof(descr); in main()
132 nnote2 = 12 + ROUNDUP(strlen(rpaname) + 1) + sizeof(rpanote); in main()
214 ns += 12 + ROUNDUP(strlen(rpaname) + 1); in main()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_page.c77 OsVmPhysAreaSizeAdjust(ROUNDUP((g_vmBootMemBase - KERNEL_ASPACE_BASE), PAGE_SIZE)); in OsVmPageStartup()
88 OsVmPhysAreaSizeAdjust(ROUNDUP(g_vmPageArraySize, PAGE_SIZE)); in OsVmPageStartup()
Dlos_vm_syscall.c60 *vaddr = ROUNDUP(*vaddr, PAGE_SIZE); in OsCheckMMapParams()
114 len = ROUNDUP(len, PAGE_SIZE); in LOS_MMap()
221 size = ROUNDUP(size, PAGE_SIZE); in LOS_DoBrk()
Dlos_vm_map.c971 if ((vaddr != ROUNDUP(vaddr, PAGE_SIZE)) ||
972 (paddr != ROUNDUP(paddr, PAGE_SIZE)) ||
973 (len != ROUNDUP(len, PAGE_SIZE))) {
1132 ptr = LOS_PhysPagesAllocContiguous(ROUNDUP(size, PAGE_SIZE) >> PAGE_SHIFT);
1148 ptr = LOS_PhysPagesAllocContiguous(ROUNDUP(size, PAGE_SIZE) >> PAGE_SHIFT);
Dlos_vm_phys.c338 OsVmRecycleExtraPages(&page[nPages], nPages, ROUNDUP(nPages, (1 << min(order, newOrder)))); in OsVmPhysPagesAlloc()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_common.h69 #define ROUNDUP(a, b) (((a) + ((b) - 1)) & ~((b) - 1)) macro
/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c1009 UINT32 bssEndBoundary = ROUNDUP(bssEnd, MB); in OsSetKSectionAttr()
1014 .size = ROUNDUP(textEnd - textStart, MMU_DESCRIPTOR_L2_SMALL_SIZE), in OsSetKSectionAttr()
1021 .size = ROUNDUP(rodataEnd - rodataStart, MMU_DESCRIPTOR_L2_SMALL_SIZE), in OsSetKSectionAttr()
1028 .size = ROUNDUP(bssEndBoundary - ramDataStart, MMU_DESCRIPTOR_L2_SMALL_SIZE), in OsSetKSectionAttr()
/kernel/linux/linux-5.10/arch/ia64/hp/common/
Dsba_iommu.c265 #define ROUNDUP(x,y) ((x + ((y)-1)) & ~((y)-1)) macro
534 uint bitshiftcnt = ROUNDUP(ioc->res_bitshift, o); in sba_search_bitmap()
1067 size = ROUNDUP(size, iovp_size); in sba_unmap_page()
1248 cnt = ROUNDUP(cnt, iovp_size); in sba_fill_pdir()
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c394 …size = ROUNDUP(addrMax, PAGE_SIZE) - ROUNDDOWN(addrMin, PAGE_SIZE) + ROUNDDOWN(offStart, PAGE_SIZE… in OsGetAllocSize()
460 bssStartPageAlign = ROUNDUP(bssStart, PAGE_SIZE); in OsSetBss()
461 bssEndPageAlign = ROUNDUP(bssEnd, PAGE_SIZE); in OsSetBss()
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c386 size = ROUNDUP(size + OS_MEM_NODE_HEAD_SIZE, PAGE_SIZE); in OsMemPoolExpandSub()
2024 UINTPTR end = ROUNDUP(g_vmBootMemBase + size, MB); in OsKHeapInit()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c454 size = ROUNDUP(size + OS_MEM_NODE_HEAD_SIZE, PAGE_SIZE);