Searched refs:ALIGN_UP (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/lib/zlib_dfltcc/ |
| H A D | dfltcc.h | 111 #define ALIGN_UP(p, size) (__typeof__(p))(((uintptr_t)(p) + ((size) - 1)) & ~((size) - 1)) macro 113 #define GET_DFLTCC_STATE(state) ((struct dfltcc_state *)((char *)(state) + ALIGN_UP(sizeof(*state),…
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | pkey-helpers.h | 176 #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))
|
| H A D | uffd-unit-tests.c | 26 #define ALIGN_UP(x, align_to) \ macro 1150 char *aligned_src = ALIGN_UP(area_src, chunk_size); in uffd_move_test_common() 1151 char *aligned_dst = ALIGN_UP(area_dst, chunk_size); in uffd_move_test_common()
|
| H A D | protection_keys.c | 693 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_anon_huge() 772 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_hugetlb()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A 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()
|
| /linux-6.15/tools/testing/selftests/drivers/net/hw/ |
| H A D | iou-zcrx.c | 56 #define ALIGN_UP(v, align) (((v) + (align) - 1) & ~((align) - 1)) macro 118 return ALIGN_UP(ring_size, 4096); in get_refill_ring_size()
|