Home
last modified time | relevance | path

Searched refs:size_mul (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
Dadf_heartbeat.c63 const size_t dev_ctrs = size_mul(max_aes, hb_ctrs); in validate_hb_ctrs_cnt()
64 const size_t stats_size = size_mul(dev_ctrs, hb_struct_size); in validate_hb_ctrs_cnt()
88 const size_t dev_ctrs = size_mul(max_aes, hb_ctrs); in adf_heartbeat_check_ctrs()
89 const size_t stats_size = size_mul(dev_ctrs, sizeof(struct hb_cnt_pair)); in adf_heartbeat_check_ctrs()
90 const size_t mem_items_to_fill = size_mul(stats_size, 2) / sizeof(u32); in adf_heartbeat_check_ctrs()
171 const size_t dev_ctrs = size_mul(max_aes, hb_ctrs); in adf_hb_get_status()
172 const size_t stats_size = size_mul(dev_ctrs, sizeof(*curr_stats)); in adf_hb_get_status()
196 ae_offset = size_mul(ae, hb_ctrs); in adf_hb_get_status()
/Linux-v6.6/include/linux/
Doverflow.h187 static inline size_t __must_check size_mul(size_t factor1, size_t factor2) in size_mul() function
248 #define array_size(a, b) size_mul(a, b)
261 #define array3_size(a, b, c) size_mul(size_mul(a, b), c)
278 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
/Linux-v6.6/lib/
Doverflow_kunit.c672 check_one_size_helper(20, size_mul, var++, 5); in overflow_size_helpers_test()
673 check_one_size_helper(20, size_mul, 4, var++); in overflow_size_helpers_test()
674 check_one_size_helper(0, size_mul, 0, 3); in overflow_size_helpers_test()
675 check_one_size_helper(0, size_mul, 3, 0); in overflow_size_helpers_test()
676 check_one_size_helper(6, size_mul, 2, 3); in overflow_size_helpers_test()
677 check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, 1); in overflow_size_helpers_test()
678 check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, 3); in overflow_size_helpers_test()
679 check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, -3); in overflow_size_helpers_test()
/Linux-v6.6/arch/arm64/kvm/
Dpkvm.c139 size_mul(sizeof(void *), in __pkvm_create_hyp_vm()
/Linux-v6.6/drivers/regulator/
Dtps6594-regulator.c488 reg_irq_nb = size_mul(REGS_INT_NB, (BUCK_NB - 1)); in tps6594_regulator_probe()
490 reg_irq_nb = size_mul(REGS_INT_NB, (size_add(BUCK_NB, LDO_NB))); in tps6594_regulator_probe()
/Linux-v6.6/drivers/pinctrl/intel/
Dpinctrl-tangier.c548 families_len = size_mul(sizeof(*families), tp->nfamilies); in tng_pinctrl_probe()
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c400 size_mul(sizeof(struct pkvm_hyp_vcpu *), nr_vcpus)); in pkvm_get_hyp_vm_size()
/Linux-v6.6/drivers/net/ipa/
Dgsi_trans.c107 alloc_size = size_mul(count + max_alloc - 1, size); in gsi_trans_pool_init()
/Linux-v6.6/Documentation/translations/it_IT/process/
Ddeprecated.rst106 Per altri calcoli, usate le funzioni size_mul(), size_add(), e size_sub(). Per
114 size_mul(chunk_size,
/Linux-v6.6/Documentation/process/
Ddeprecated.rst97 For other calculations, please compose the use of the size_mul(),
105 size_mul(chunk_size,
/Linux-v6.6/Documentation/translations/sp_SP/process/
Ddeprecated.rst104 Para otros cálculos, por favor use las funciones de ayuda: size_mul(),
112 size_mul(chunk_size,
/Linux-v6.6/drivers/usb/host/
Dxhci-mem.c560 size_t size = size_mul(sizeof(struct xhci_stream_ctx), num_stream_ctxs); in xhci_alloc_stream_ctx()
1641 size_mul(sizeof(u64), num_sp), in scratchpad_alloc()
1779 size = size_mul(sizeof(struct xhci_erst_entry), evt_ring->num_segs); in xhci_alloc_erst()
/Linux-v6.6/drivers/usb/gadget/function/
Df_fs.c2583 size_mul(lang_count, (needed_count + 1))); in __ffs_data_got_strings()
/Linux-v6.6/drivers/staging/media/atomisp/pci/
Dsh_css_params.c110 return size_mul(sizeof(unsigned short), in sctbl_bytes()
/Linux-v6.6/kernel/bpf/
Dverifier.c1584 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array()
3190 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p))); in push_jmp_history()