Searched defs:IS_ALIGNED (Results 1 – 2 of 2) sorted by relevance
27 #define IS_ALIGNED(ptr, type) (((uintptr_t)(ptr) & (alignof(type) - 1)) == 0) macro
39 #define IS_ALIGNED(x, align) (!((x) & ((align) - 1))) macro