Home
last modified time | relevance | path

Searched refs:_ALIGN_UP (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Dsimple_alloc.c45 size = _ALIGN_UP(size, alloc_min); in simple_malloc()
131 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init()
137 alloc_tbl = (struct alloc_info *)_ALIGN_UP((unsigned long)base, 8); in simple_alloc_init()
140 heap_base = _ALIGN_UP((unsigned long)alloc_tbl + tbl_size, alloc_min); in simple_alloc_init()
H A Dpage.h21 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((typeof(addr))(size)-1))) macro
25 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
H A Dof.c33 claim_base = _ALIGN_UP((unsigned long)_end, ONE_MB); in of_try_claim()
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Dsimple_alloc.c43 size = _ALIGN_UP(size, alloc_min); in simple_malloc()
129 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init()
135 alloc_tbl = (struct alloc_info *)_ALIGN_UP((unsigned long)base, 8); in simple_alloc_init()
138 heap_base = _ALIGN_UP((unsigned long)alloc_tbl + tbl_size, alloc_min); in simple_alloc_init()
H A Dpage.h21 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((typeof(addr))(size)-1))) macro
25 #define _ALIGN(addr,size) _ALIGN_UP(addr,size)
H A Dof.c33 claim_base = _ALIGN_UP((unsigned long)_end, ONE_MB); in of_try_claim()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dpage.h44 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((size)-1))) macro
48 #define _ALIGN(addr, size) _ALIGN_UP(addr, size)

Completed in 2 milliseconds