Home
last modified time | relevance | path

Searched refs:ALIGN_UP (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/mm/
A Dpkey-helpers.h176 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro
179 ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
A Duffd-unit-tests.c26 #define ALIGN_UP(x, align_to) \ macro
1158 char *aligned_src = ALIGN_UP(area_src, chunk_size); in uffd_move_test_common()
1159 char *aligned_dst = ALIGN_UP(area_dst, chunk_size); in uffd_move_test_common()
A Dprotection_keys.c693 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_anon_huge()
772 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_hugetlb()
/tools/testing/selftests/net/
A Dtcp_mmap.c130 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro
131 #define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
140 sz = ALIGN_UP(need, map_align); in mmap_large_buffer()
/tools/testing/selftests/drivers/net/hw/
A Diou-zcrx.c56 #define ALIGN_UP(v, align) (((v) + (align) - 1) & ~((align) - 1)) macro
118 return ALIGN_UP(ring_size, page_size); in get_refill_ring_size()

Completed in 14 milliseconds