Searched defs:ALIGN_UP (Results 1 – 4 of 4) sorted by relevance
43 #define ALIGN_UP(p,a) ((__typeof__(p))__align_up((uintptr_t)(p), (a))) macro
41 #define ALIGN_UP(p,t) ((t *)(((uintptr_t)(p) + (sizeof(t)-1)) & ~(sizeof(t)-1))) macro
48 #define ALIGN_UP(a, b) ALIGN(a, b) macro
54 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro