| /linux-6.15/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat.c | 58 const size_t dev_ctrs = size_mul(max_aes, hb_ctrs); in validate_hb_ctrs_cnt() 59 const size_t stats_size = size_mul(dev_ctrs, hb_struct_size); in validate_hb_ctrs_cnt() 83 const size_t dev_ctrs = size_mul(max_aes, hb_ctrs); in adf_heartbeat_check_ctrs() 84 const size_t stats_size = size_mul(dev_ctrs, sizeof(struct hb_cnt_pair)); in adf_heartbeat_check_ctrs() 85 const size_t mem_items_to_fill = size_mul(stats_size, 2) / sizeof(u32); in adf_heartbeat_check_ctrs() 166 const size_t dev_ctrs = size_mul(max_aes, hb_ctrs); in adf_hb_get_status() 167 const size_t stats_size = size_mul(dev_ctrs, sizeof(*curr_stats)); in adf_hb_get_status() 191 ae_offset = size_mul(ae, hb_ctrs); in adf_hb_get_status()
|
| /linux-6.15/include/linux/ |
| H A D | overflow.h | 266 static inline size_t __must_check size_mul(size_t factor1, size_t factor2) in size_mul() function 327 #define array_size(a, b) size_mul(a, b) 340 #define array3_size(a, b, c) size_mul(size_mul(a, b), c) 357 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
|
| /linux-6.15/drivers/media/pci/intel/ipu6/ |
| H A D | ipu6-fw-com.c | 189 inq_size = size_mul(cfg->num_input_queues, in ipu6_fw_com_prepare() 191 outq_size = size_mul(cfg->num_output_queues, in ipu6_fw_com_prepare() 199 sizeinput += size_mul(cfg->input[i].queue_size + 1, in ipu6_fw_com_prepare() 203 sizeoutput += size_mul(cfg->output[i].queue_size + 1, in ipu6_fw_com_prepare()
|
| /linux-6.15/lib/tests/ |
| H A D | overflow_kunit.c | 729 check_one_size_helper(20, size_mul, var++, 5); in overflow_size_helpers_test() 730 check_one_size_helper(20, size_mul, 4, var++); in overflow_size_helpers_test() 731 check_one_size_helper(0, size_mul, 0, 3); in overflow_size_helpers_test() 732 check_one_size_helper(0, size_mul, 3, 0); in overflow_size_helpers_test() 733 check_one_size_helper(6, size_mul, 2, 3); in overflow_size_helpers_test() 734 check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, 1); in overflow_size_helpers_test() 735 check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, 3); in overflow_size_helpers_test() 736 check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, -3); in overflow_size_helpers_test()
|
| /linux-6.15/drivers/s390/cio/ |
| H A D | idset.c | 21 return bitmap_size(size_mul(num_ssid, num_id)); in idset_bitmap_size()
|
| /linux-6.15/drivers/platform/x86/intel/ |
| H A D | tpmi_power_domains.c | 210 tpmi_power_domain_mask = kcalloc(size_mul(topology_max_packages(), MAX_POWER_DOMAINS), in tpmi_init()
|
| /linux-6.15/include/linux/device/ |
| H A D | devres.h | 85 return devm_kmemdup(dev, src, size_mul(size, n), flags); in devm_kmemdup_array()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_acl_bloom_filter.c | 516 bf = kzalloc(struct_size(bf, refcnt, size_mul(bf_bank_size, num_erp_banks)), in mlxsw_sp_acl_bf_init()
|
| /linux-6.15/arch/arm64/kvm/ |
| H A D | pkvm.c | 171 size_mul(sizeof(void *), in __pkvm_create_hyp_vm()
|
| H A D | nested.c | 66 size_mul(sizeof(*kvm->arch.nested_mmus), num_mmus), in kvm_vcpu_init_nested()
|
| /linux-6.15/mm/ |
| H A D | util.c | 157 return kmemdup(src, size_mul(element_size, count), gfp); in kmemdup_array()
|
| /linux-6.15/arch/arm64/kvm/hyp/nvhe/ |
| H A D | pkvm.c | 504 size_mul(sizeof(struct pkvm_hyp_vcpu *), nr_vcpus)); in pkvm_get_hyp_vm_size()
|
| /linux-6.15/drivers/net/ipa/ |
| H A D | gsi_trans.c | 107 alloc_size = size_mul(count + max_alloc - 1, size); in gsi_trans_pool_init()
|
| /linux-6.15/Documentation/translations/it_IT/process/ |
| H A D | deprecated.rst | 106 Per altri calcoli, usate le funzioni size_mul(), size_add(), e size_sub(). Per 114 size_mul(chunk_size,
|
| /linux-6.15/Documentation/process/ |
| H A D | deprecated.rst | 97 For other calculations, please compose the use of the size_mul(), 105 size_mul(chunk_size,
|
| /linux-6.15/Documentation/translations/sp_SP/process/ |
| H A D | deprecated.rst | 104 Para otros cálculos, por favor use las funciones de ayuda: size_mul(), 112 size_mul(chunk_size,
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_panic.c | 120 size_mul(DIV_ROUND_UP(logo->width, BITS_PER_BYTE), logo->height), in drm_panic_setup_logo()
|
| /linux-6.15/drivers/accel/qaic/ |
| H A D | sahara.c | 577 dump_length = size_add(dump_length, size_mul(sizeof(*image_out_table), table_nents)); in sahara_parse_dump_table()
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | uverbs_cmd.c | 2038 wqes = uverbs_request_next_ptr(&iter, size_mul(cmd.wqe_size, in ib_uverbs_post_send() 2043 size_mul(cmd.sge_count, in ib_uverbs_post_send() 2230 wqes = uverbs_request_next_ptr(iter, size_mul(wqe_size, wr_count)); in ib_uverbs_unmarshall_recv() 2233 sgls = uverbs_request_next_ptr(iter, size_mul(sge_count, in ib_uverbs_unmarshall_recv()
|
| H A D | sysfs.c | 1136 size_mul(attr->gid_tbl_len, 2)), in setup_gid_attrs()
|
| /linux-6.15/fs/proc/ |
| H A D | task_mmu.c | 2692 size_mul(arg->vec_len, sizeof(struct page_region)))) in pagemap_scan_get_args()
|
| /linux-6.15/drivers/staging/media/atomisp/pci/ |
| H A D | sh_css_params.c | 101 return size_mul(sizeof(unsigned short), in sctbl_bytes()
|
| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | f_fs.c | 3073 size_mul(lang_count, (needed_count + 1))); in __ffs_data_got_strings()
|
| /linux-6.15/kernel/bpf/ |
| H A D | verifier.c | 1404 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array() 3873 alloc_size = size_mul(cur->insn_hist_end + 1, sizeof(*p)); in push_insn_history()
|