Lines Matching refs:x
12 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
22 #define round_up(x, y) ((((x)-1) | __round_mask(x, y)) + 1) argument
32 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
60 #define roundup(x, y) \ argument
63 (((x) + (__y - 1)) / __y) * __y; \
73 #define rounddown(x, y) \ argument
75 typeof(x) __x = (x); \
85 #define DIV_ROUND_CLOSEST(x, divisor) \ argument
87 typeof(x) __x = x; \
89 (((typeof(x))-1) > 0 || ((typeof(divisor))-1) > 0 || \
98 #define DIV_ROUND_CLOSEST_ULL(x, divisor) \ argument
101 unsigned long long _tmp = (x) + (__d) / 2; \