Searched refs:ALIGN_UP (Results 1 – 2 of 2) sorted by relevance
/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/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 55 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro 57 #define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to)) 781 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_anon_huge() 851 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_hugetlb()
|