Searched refs:check_mul_overflow (Results 1 – 4 of 4) sorted by relevance
/tools/include/linux/ |
D | overflow.h | 62 #define check_mul_overflow(a, b, d) ({ \ macro 86 if (check_mul_overflow(a, b, &bytes)) in array_size() 108 if (check_mul_overflow(a, b, &bytes)) in array3_size() 110 if (check_mul_overflow(bytes, c, &bytes)) in array3_size() 120 if (check_mul_overflow(n, size, &bytes)) in __ab_c_size()
|
/tools/include/tools/ |
D | libc_compat.h | 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
|
/tools/virtio/linux/ |
D | kernel.h | 125 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in krealloc_array()
|
/tools/perf/util/ |
D | util.c | 519 if (check_mul_overflow(new_sz, (size_t)2, &new_sz)) in do_realloc_array_as_needed()
|