Lines Matching defs:a
21 #define IS_ODD(a) ((a) & 0x1) argument
22 #define IS_EVEN(a) (!IS_ODD(a)) argument
32 #define IMPLIES(a, b) (!(a) || (b)) argument
36 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) argument
37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) argument
39 #define ROUND_DIV(a, b) (((b) != 0) ? ((a) + ((b) >> 1)) / (b) : 0) argument
40 #define CEIL_DIV(a, b) (((b) != 0) ? ((a) + (b) - 1) / (b) : 0) argument
41 #define CEIL_MUL(a, b) (CEIL_DIV(a, b) * (b)) argument
42 #define CEIL_MUL2(a, b) (((a) + (b) - 1) & ~((b) - 1)) argument
43 #define CEIL_SHIFT(a, b) (((a) + (1 << (b)) - 1) >> (b)) argument
44 #define CEIL_SHIFT_MUL(a, b) (CEIL_SHIFT(a, b) << (b)) argument
45 #define ROUND_HALF_DOWN_DIV(a, b) (((b) != 0) ? ((a) + (b / 2) - 1) / (b) : 0) argument
46 #define ROUND_HALF_DOWN_MUL(a, b) (ROUND_HALF_DOWN_DIV(a, b) * (b)) argument
74 #define ceil_div(a, b) (CEIL_DIV(a, b)) argument
76 static inline unsigned int ceil_mul(unsigned int a, unsigned int b) in ceil_mul()
81 static inline unsigned int ceil_mul2(unsigned int a, unsigned int b) in ceil_mul2()
86 static inline unsigned int ceil_shift(unsigned int a, unsigned int b) in ceil_shift()
91 static inline unsigned int ceil_shift_mul(unsigned int a, unsigned int b) in ceil_shift_mul()
97 static inline unsigned int round_half_down_div(unsigned int a, unsigned int b) in round_half_down_div()
103 static inline unsigned int round_half_down_mul(unsigned int a, unsigned int b) in round_half_down_mul()
126 static inline unsigned int ceil_pow2(unsigned int a) in ceil_pow2()