| /linux/drivers/crypto/intel/qat/qat_common/ |
| 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/include/linux/ |
| 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/drivers/media/pci/intel/ipu6/ |
| A D | ipu6-fw-com.c | 190 inq_size = size_mul(cfg->num_input_queues, in ipu6_fw_com_prepare() 192 outq_size = size_mul(cfg->num_output_queues, in ipu6_fw_com_prepare() 200 sizeinput += size_mul(cfg->input[i].queue_size + 1, in ipu6_fw_com_prepare() 204 sizeoutput += size_mul(cfg->output[i].queue_size + 1, in ipu6_fw_com_prepare()
|
| /linux/lib/ |
| 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/drivers/s390/cio/ |
| A D | idset.c | 21 return bitmap_size(size_mul(num_ssid, num_id)); in idset_bitmap_size()
|
| /linux/drivers/platform/x86/intel/ |
| A D | tpmi_power_domains.c | 209 tpmi_power_domain_mask = kcalloc(size_mul(topology_max_packages(), MAX_POWER_DOMAINS), in tpmi_init()
|
| /linux/arch/arm64/kvm/ |
| A D | pkvm.c | 150 size_mul(sizeof(void *), in __pkvm_create_hyp_vm()
|
| A D | nested.c | 65 size_mul(sizeof(*kvm->arch.nested_mmus), num_mmus), in kvm_vcpu_init_nested()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_acl_bloom_filter.c | 499 bf = kzalloc(struct_size(bf, refcnt, size_mul(bf_bank_size, num_erp_banks)), in mlxsw_sp_acl_bf_init()
|
| /linux/drivers/pinctrl/intel/ |
| A D | pinctrl-tangier.c | 546 families_len = size_mul(sizeof(*families), tp->nfamilies); in tng_pinctrl_probe()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| A D | pkvm.c | 406 size_mul(sizeof(struct pkvm_hyp_vcpu *), nr_vcpus)); in pkvm_get_hyp_vm_size()
|
| /linux/drivers/net/ipa/ |
| A D | gsi_trans.c | 107 alloc_size = size_mul(count + max_alloc - 1, size); in gsi_trans_pool_init()
|
| /linux/Documentation/process/ |
| A D | deprecated.rst | 97 For other calculations, please compose the use of the size_mul(), 105 size_mul(chunk_size,
|
| /linux/Documentation/translations/it_IT/process/ |
| 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/mm/ |
| A D | util.c | 153 return kmemdup(src, size_mul(element_size, count), gfp); in kmemdup_array()
|
| /linux/Documentation/translations/sp_SP/process/ |
| A D | deprecated.rst | 104 Para otros cálculos, por favor use las funciones de ayuda: size_mul(), 112 size_mul(chunk_size,
|
| /linux/drivers/gpu/drm/ |
| A D | drm_panic.c | 119 size_mul(DIV_ROUND_UP(logo->width, BITS_PER_BYTE), logo->height), in drm_panic_setup_logo()
|
| /linux/drivers/infiniband/core/ |
| A D | sysfs.c | 1147 size_mul(attr->gid_tbl_len, 2)), in setup_gid_attrs()
|
| /linux/fs/proc/ |
| A D | task_mmu.c | 2671 size_mul(arg->vec_len, sizeof(struct page_region)))) in pagemap_scan_get_args()
|
| /linux/drivers/staging/media/atomisp/pci/ |
| A D | sh_css_params.c | 110 return size_mul(sizeof(unsigned short), in sctbl_bytes()
|
| /linux/drivers/usb/gadget/function/ |
| A D | f_fs.c | 3073 size_mul(lang_count, (needed_count + 1))); in __ffs_data_got_strings()
|
| /linux/kernel/bpf/ |
| A D | verifier.c | 1246 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array() 3502 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p))); in push_jmp_history()
|