Searched refs:ROUNDUP (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | addnote.c | 54 #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/ |
D | los_vm_page.c | 77 OsVmPhysAreaSizeAdjust(ROUNDUP((g_vmBootMemBase - KERNEL_ASPACE_BASE), PAGE_SIZE)); in OsVmPageStartup() 88 OsVmPhysAreaSizeAdjust(ROUNDUP(g_vmPageArraySize, PAGE_SIZE)); in OsVmPageStartup()
|
D | los_vm_syscall.c | 60 *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()
|
D | los_vm_map.c | 971 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);
|
D | los_vm_phys.c | 338 OsVmRecycleExtraPages(&page[nPages], nPages, ROUNDUP(nPages, (1 << min(order, newOrder)))); in OsVmPhysPagesAlloc()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_common.h | 69 #define ROUNDUP(a, b) (((a) + ((b) - 1)) & ~((b) - 1)) macro
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_arch_mmu.c | 1009 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/ |
D | sba_iommu.c | 265 #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/ |
D | los_load_elf.c | 394 …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/ |
D | los_memory.c | 386 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/ |
D | los_memory.c | 454 size = ROUNDUP(size + OS_MEM_NODE_HEAD_SIZE, PAGE_SIZE);
|