/linux-6.1.9/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()
|
/linux-6.1.9/include/linux/ |
D | overflow.h | 96 #define check_mul_overflow(a, b, d) \ macro 144 if (check_mul_overflow(factor1, factor2, &bytes)) in size_mul()
|
D | slab.h | 601 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array() 622 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in krealloc_array() 662 if (unlikely(check_mul_overflow(n, size, &bytes))) in kmalloc_array_node() 721 if (unlikely(check_mul_overflow(n, size, &bytes))) in kvmalloc_array()
|
D | device.h | 216 if (unlikely(check_mul_overflow(n, size, &bytes))) in devm_kmalloc_array()
|
/linux-6.1.9/tools/include/tools/ |
D | libc_compat.h | 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
|
/linux-6.1.9/kernel/bpf/ |
D | bloom_filter.c | 126 if (check_mul_overflow(attr->max_entries, nr_hash_funcs, &nr_bits) || in bloom_map_alloc() 127 check_mul_overflow(nr_bits / 5, (u32)7, &nr_bits) || in bloom_map_alloc()
|
/linux-6.1.9/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-6.1.9/include/drm/ |
D | drm_managed.h | 81 if (unlikely(check_mul_overflow(n, size, &bytes))) in drmm_kmalloc_array()
|
/linux-6.1.9/tools/virtio/linux/ |
D | kernel.h | 124 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in krealloc_array()
|
/linux-6.1.9/drivers/iio/afe/ |
D | iio-rescale.c | 44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale() 45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale()
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 351 if (check_mul_overflow(mcnt, arch_max_freq_ratio, &mcnt) || !mcnt) in scale_freq_tick()
|
/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | submit.c | 166 if (check_mul_overflow(count, size, ©_len)) in alloc_copy_user_array() 196 if (check_mul_overflow((size_t)args->gather_data_words, (size_t)4, ©_len)) { in submit_copy_gather_data()
|
/linux-6.1.9/tools/perf/util/ |
D | util.c | 519 if (check_mul_overflow(new_sz, (size_t)2, &new_sz)) in do_realloc_array_as_needed()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mlx5_core.h | 158 if (check_mul_overflow((int)item_size, (int)num_items, &inlen)) { in mlx5_flexible_inlen()
|
/linux-6.1.9/io_uring/ |
D | kbuf.c | 335 if (check_mul_overflow((unsigned long)p->len, (unsigned long)p->nbufs, in io_provide_buffers_prep()
|
/linux-6.1.9/drivers/gpu/drm/qxl/ |
D | qxl_display.c | 209 if (check_mul_overflow(width, 4u, &stride)) in qxl_check_mode() 211 if (check_mul_overflow(stride, height, &size)) in qxl_check_mode()
|
/linux-6.1.9/mm/ |
D | util.c | 674 if (unlikely(check_mul_overflow(n, size, &bytes))) in __vmalloc_array()
|
/linux-6.1.9/include/rdma/ |
D | uverbs_ioctl.h | 880 if (unlikely(check_mul_overflow(n, size, &bytes))) in uverbs_kcalloc()
|
/linux-6.1.9/drivers/video/fbdev/core/ |
D | fbmem.c | 1012 if (check_mul_overflow(var->xres, var->yres, &unused) || in fb_set_var() 1013 check_mul_overflow(var->xres_virtual, var->yres_virtual, &unused)) in fb_set_var()
|
/linux-6.1.9/drivers/acpi/ |
D | property.c | 398 if (check_mul_overflow((size_t)properties->package.count, in acpi_data_add_buffer_props()
|
/linux-6.1.9/drivers/iio/adc/ |
D | xilinx-xadc-core.c | 621 if (check_mul_overflow(n, sizeof(*xadc->data), &new_size)) in xadc_update_scan_mode()
|
/linux-6.1.9/Documentation/process/ |
D | deprecated.rst | 109 as well as the related check_mul_overflow(), check_add_overflow(),
|
/linux-6.1.9/Documentation/translations/it_IT/process/ |
D | deprecated.rst | 118 anche le funzioni della famiglia check_mul_overflow(), check_add_overflow(),
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 961 if (unlikely(check_mul_overflow(num_of_dests, 2u, &ref_act_cnt))) in mlx5dr_action_create_mult_dest_tbl()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | sev.c | 2929 if (unlikely(check_mul_overflow(count, size, &bytes))) in sev_es_string_io()
|