Searched refs:ALIGN_UP (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/lib/zlib_dfltcc/ |
D | dfltcc.h | 110 #define ALIGN_UP(p, size) (__typeof__(p))(((uintptr_t)(p) + ((size) - 1)) & ~((size) - 1)) macro 112 #define GET_DFLTCC_STATE(state) ((struct dfltcc_state *)((char *)(state) + ALIGN_UP(sizeof(*state),…
|
/Linux-v6.6/tools/testing/selftests/mm/ |
D | pkey-helpers.h | 180 #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))
|
D | protection_keys.c | 727 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_anon_huge() 806 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_hugetlb()
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | tcp_mmap.c | 130 #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()
|