Searched refs:size_mul (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | overflow.h | 187 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-6.3-rc2/lib/ |
A D | overflow_kunit.c | 672 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-6.3-rc2/arch/arm64/kvm/ |
A D | pkvm.c | 134 size_mul(sizeof(void *), in __pkvm_create_hyp_vm()
|
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/ |
A D | pkvm.c | 385 size_mul(sizeof(struct pkvm_hyp_vcpu *), nr_vcpus)); in pkvm_get_hyp_vm_size()
|
/linux-6.3-rc2/drivers/net/ipa/ |
A D | gsi_trans.c | 107 alloc_size = size_mul(count + max_alloc - 1, size); in gsi_trans_pool_init()
|
/linux-6.3-rc2/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-6.3-rc2/Documentation/process/ |
A D | deprecated.rst | 97 For other calculations, please compose the use of the size_mul(), 105 size_mul(chunk_size,
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | sh_css_params.c | 110 return size_mul(sizeof(unsigned short), in sctbl_bytes()
|
/linux-6.3-rc2/drivers/usb/gadget/function/ |
A D | f_fs.c | 2660 size_mul(lang_count, (needed_count + 1))); in __ffs_data_got_strings()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | verifier.c | 1245 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array() 2794 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p))); in push_jmp_history()
|
Completed in 48 milliseconds