Searched refs:check_mul_overflow (Results 1 – 14 of 14) sorted by relevance
/linux-5.10/tools/include/linux/ |
D | overflow.h | 67 #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/ |
D | overflow.h | 84 #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()
|
D | slab.h | 588 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array() 623 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_node()
|
D | device.h | 224 if (unlikely(check_mul_overflow(n, size, &bytes))) in devm_kmalloc_array()
|
D | mm.h | 780 if (unlikely(check_mul_overflow(n, size, &bytes))) in kvmalloc_array()
|
/linux-5.10/tools/include/tools/ |
D | libc_compat.h | 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
|
/linux-5.10/include/drm/ |
D | drm_managed.h | 82 if (unlikely(check_mul_overflow(n, size, &bytes))) in drmm_kmalloc_array()
|
/linux-5.10/drivers/power/supply/ |
D | power_supply_hwmon.c | 236 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/ |
D | i915_utils.h | 132 if (check_mul_overflow(count, arr, &sz)) in __check_struct_size()
|
/linux-5.10/drivers/infiniband/core/ |
D | uverbs_std_types_device.c | 346 if (check_mul_overflow(max_entries, sizeof(*entries), &num_bytes)) in UVERBS_HANDLER()
|
/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_display.c | 205 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/ |
D | deprecated.rst | 100 funzioni check_add_overflow() e check_mul_overflow().
|
/linux-5.10/arch/x86/kernel/ |
D | smpboot.c | 2097 if (check_mul_overflow(mcnt, arch_max_freq_ratio, &mcnt) || !mcnt) in arch_scale_freq_tick()
|
/linux-5.10/Documentation/process/ |
D | deprecated.rst | 95 check_mul_overflow() family of functions.
|