Searched refs:ALIGN_UP (Results 1 – 5 of 5) sorted by relevance
/external/syslinux/com32/include/syslinux/ |
D | align.h | 43 #define ALIGN_UP(p,a) ((__typeof__(p))__align_up((uintptr_t)(p), (a))) macro 45 #define ALIGN_UP_FOR(p,t) ALIGN_UP(p,sizeof(t))
|
/external/syslinux/dos/ |
D | argv.c | 41 #define ALIGN_UP(p,t) ((t *)(((uintptr_t)(p) + (sizeof(t)-1)) & ~(sizeof(t)-1))) macro 111 arg = ALIGN_UP(q, char *); in __parse_argv()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tiled_memcpy.c | 48 #define ALIGN_UP(a, b) ALIGN(a, b) macro 662 xt3 = ALIGN_UP (xt2, tw); in linear_to_tiled() 664 yt3 = ALIGN_UP (yt2, th); in linear_to_tiled() 687 x1 = ALIGN_UP(x0, span); in linear_to_tiled() 753 xt3 = ALIGN_UP (xt2, tw); in tiled_to_linear() 755 yt3 = ALIGN_UP (yt2, th); in tiled_to_linear() 778 x1 = ALIGN_UP(x0, span); in tiled_to_linear()
|
/external/syslinux/com32/lib/syslinux/ |
D | zonelist.c | 282 xstart = ALIGN_UP(xstart, align); in syslinux_memmap_find_type() 387 start = ALIGN_UP(start, align); in syslinux_memmap_find()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 54 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro 56 #define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to)) 790 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_anon_huge() 860 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_hugetlb()
|