Home
last modified time | relevance | path

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

/linux/lib/zlib_dfltcc/
H A Ddfltcc.h111 #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/tools/testing/selftests/mm/
H A Dpkey-helpers.h176 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1))
179 ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
173 #define ALIGN_UP( global() macro
H A Duffd-unit-tests.c28 #define ALIGN_UP(x, align_to) \
1956 char *aligned_src = ALIGN_UP(gopts->area_src, chunk_size);
1957 char *aligned_dst = ALIGN_UP(gopts->area_dst, chunk_size);
26 #define ALIGN_UP( global() macro
H A Dprotection_keys.c606 size = ALIGN_UP(size, HPAGE_SIZE * 2); in record_pkey_malloc()
663 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_with_mprotect()
/linux/tools/testing/selftests/net/
H 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()