Home
last modified time | relevance | path

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

/linux-5.10/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-5.10/include/linux/
Doverflow.h84 #define check_mul_overflow(a, b, d) __must_check_overflow(({ \ macro
214 #define check_mul_overflow(a, b, d) __must_check_overflow( \ macro
267 if (check_mul_overflow(a, b, &bytes)) in array_size()
289 if (check_mul_overflow(a, b, &bytes)) in array3_size()
291 if (check_mul_overflow(bytes, c, &bytes)) in array3_size()
305 if (check_mul_overflow(a, b, &bytes)) in __ab_c_size()
Dslab.h588 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array()
623 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_node()
Ddevice.h224 if (unlikely(check_mul_overflow(n, size, &bytes))) in devm_kmalloc_array()
Dmm.h780 if (unlikely(check_mul_overflow(n, size, &bytes))) in kvmalloc_array()
/linux-5.10/tools/include/tools/
Dlibc_compat.h15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
/linux-5.10/include/drm/
Ddrm_managed.h82 if (unlikely(check_mul_overflow(n, size, &bytes))) in drmm_kmalloc_array()
/linux-5.10/drivers/power/supply/
Dpower_supply_hwmon.c236 if (check_mul_overflow(pspval.intval, 100, in power_supply_hwmon_read()
272 if (check_mul_overflow(pspval.intval, 1000, in power_supply_hwmon_write()
/linux-5.10/drivers/gpu/drm/i915/
Di915_utils.h132 if (check_mul_overflow(count, arr, &sz)) in __check_struct_size()
/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_device.c346 if (check_mul_overflow(max_entries, sizeof(*entries), &num_bytes)) in UVERBS_HANDLER()
/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_display.c205 if (check_mul_overflow(width, 4u, &stride)) in qxl_check_mode()
207 if (check_mul_overflow(stride, height, &size)) in qxl_check_mode()
/linux-5.10/Documentation/translations/it_IT/process/
Ddeprecated.rst100 funzioni check_add_overflow() e check_mul_overflow().
/linux-5.10/arch/x86/kernel/
Dsmpboot.c2097 if (check_mul_overflow(mcnt, arch_max_freq_ratio, &mcnt) || !mcnt) in arch_scale_freq_tick()
/linux-5.10/Documentation/process/
Ddeprecated.rst95 check_mul_overflow() family of functions.