Searched refs:IS_ALIGNED (Results 1 – 1 of 1) sorted by relevance
1661 #define IS_ALIGNED(ptr, size) ( (((uintptr_t)(ptr)) & (((uintptr_t)(size)) - 1)) == 0 ) macro1662 #define IS_ATOMIC(ptr, size) ( (size) <= sizeof(uint64_t) && IS_ALIGNED(ptr, size) )