Searched refs:__align_mask (Results 1 – 2 of 2) sorted by relevance
31 #define __align_mask(value, mask) (((value) + (mask)) & ~(mask)) macro32 #define ALIGN(value, alignment) __align_mask(value, (typeof(value))((alignment) - 1))
42 #define align(x,a) __align_mask(x,(typeof(x))(a)-1)43 #define __align_mask(x,mask) (((x)+(mask))&~(mask)) macro