Lines Matching refs:d
55 #define check_add_overflow(a, b, d) ({ \ argument
58 typeof(d) __d = (d); \
64 #define check_sub_overflow(a, b, d) ({ \ argument
67 typeof(d) __d = (d); \
73 #define check_mul_overflow(a, b, d) ({ \ argument
76 typeof(d) __d = (d); \
86 #define __unsigned_add_overflow(a, b, d) ({ \ argument
89 typeof(d) __d = (d); \
95 #define __unsigned_sub_overflow(a, b, d) ({ \ argument
98 typeof(d) __d = (d); \
107 #define __unsigned_mul_overflow(a, b, d) ({ \ argument
110 typeof(d) __d = (d); \
135 #define __signed_add_overflow(a, b, d) ({ \ argument
138 typeof(d) __d = (d); \
151 #define __signed_sub_overflow(a, b, d) ({ \ argument
154 typeof(d) __d = (d); \
178 #define __signed_mul_overflow(a, b, d) ({ \ argument
181 typeof(d) __d = (d); \
193 #define check_add_overflow(a, b, d) \ argument
195 __signed_add_overflow(a, b, d), \
196 __unsigned_add_overflow(a, b, d))
198 #define check_sub_overflow(a, b, d) \ argument
200 __signed_sub_overflow(a, b, d), \
201 __unsigned_sub_overflow(a, b, d))
203 #define check_mul_overflow(a, b, d) \ argument
205 __signed_mul_overflow(a, b, d), \
206 __unsigned_mul_overflow(a, b, d))
230 #define check_shl_overflow(a, s, d) ({ \ argument
233 typeof(d) _d = d; \
236 is_non_negative(_s) && _s < 8 * sizeof(*d) ? _s : 0; \