Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/vm/
Dpkey-helpers.h180 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro
183 ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
Dprotection_keys.c735 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_anon_huge()
814 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_hugetlb()
/linux-5.19.10/tools/testing/selftests/net/
Dtcp_mmap.c123 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro
124 #define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
133 sz = ALIGN_UP(need, map_align); in mmap_large_buffer()