Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Doverflow.h140 static inline size_t __must_check size_mul(size_t factor1, size_t factor2) in size_mul() function
201 #define array_size(a, b) size_mul(a, b)
214 #define array3_size(a, b, c) size_mul(size_mul(a, b), c)
231 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
/linux-6.1.9/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-6.1.9/Documentation/process/
Ddeprecated.rst97 For other calculations, please compose the use of the size_mul(),
105 size_mul(chunk_size,
/linux-6.1.9/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-6.1.9/drivers/usb/gadget/function/
Df_fs.c2658 size_mul(lang_count, (needed_count + 1))); in __ffs_data_got_strings()
/linux-6.1.9/kernel/bpf/
Dverifier.c1038 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array()
2514 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p))); in push_jmp_history()