Searched defs:IS_ALIGNED (Results 1 – 6 of 6) sorted by relevance
23 #define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a) - 1))) macro
28 #define IS_ALIGNED(ptr, order) (((size_t)ptr & ((1 << order) - 1)) == 0) macro
28 #define IS_ALIGNED(ptr, order) (((unsigned)ptr & ((1 << order) - 1)) == 0) macro
96 #define IS_ALIGNED(n, align) ((((unsigned long) n) & \ macro
352 #define IS_ALIGNED(p) (((uintptr_t)(p) & (sizeof(*(p)) - 1)) == 0) macro