Home
last modified time | relevance | path

Searched refs:check_mul_overflow (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/tools/include/linux/
Doverflow.h67 #define check_mul_overflow(a, b, d) ({ \ macro
197 #define check_mul_overflow(a, b, d) \ macro
220 if (check_mul_overflow(a, b, &bytes)) in array_size()
242 if (check_mul_overflow(a, b, &bytes)) in array3_size()
244 if (check_mul_overflow(bytes, c, &bytes)) in array3_size()
254 if (check_mul_overflow(n, size, &bytes)) in __ab_c_size()
/Linux-v5.4/include/linux/
Doverflow.h73 #define check_mul_overflow(a, b, d) ({ \ macro
203 #define check_mul_overflow(a, b, d) \ macro
257 if (check_mul_overflow(a, b, &bytes)) in array_size()
279 if (check_mul_overflow(a, b, &bytes)) in array3_size()
281 if (check_mul_overflow(bytes, c, &bytes)) in array3_size()
295 if (check_mul_overflow(a, b, &bytes)) in __ab_c_size()
Dslab.h614 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array()
649 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_node()
Ddevice.h926 if (unlikely(check_mul_overflow(n, size, &bytes))) in devm_kmalloc_array()
Dmm.h685 if (unlikely(check_mul_overflow(n, size, &bytes))) in kvmalloc_array()
/Linux-v5.4/tools/include/tools/
Dlibc_compat.h15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
/Linux-v5.4/drivers/power/supply/
Dpower_supply_hwmon.c182 if (check_mul_overflow(pspval.intval, 100, in power_supply_hwmon_read()
218 if (check_mul_overflow(pspval.intval, 1000, in power_supply_hwmon_write()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_utils.h117 if (check_mul_overflow(count, arr, &sz)) in __check_struct_size()
/Linux-v5.4/Documentation/translations/it_IT/process/
Ddeprecated.rst73 funzioni :c:func:`check_add_overflow` e :c:func:`check_mul_overflow`.
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_display.c203 if (check_mul_overflow(width, 4u, &stride)) in qxl_check_mode()
205 if (check_mul_overflow(stride, height, &size)) in qxl_check_mode()
/Linux-v5.4/Documentation/process/
Ddeprecated.rst68 :c:func:`check_mul_overflow` family of functions.