Lines Matching refs:num_mb

68 static u32 num_mb = 8;  variable
150 u32 num_mb, int *rc) in do_mult_aead_op() argument
155 for (i = 0; i < num_mb; i++) { in do_mult_aead_op()
163 for (i = 0; i < num_mb; i++) { in do_mult_aead_op()
176 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
183 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_jiffies()
189 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_jiffies()
195 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
203 int blen, u32 num_mb) in test_mb_aead_cycles() argument
210 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_cycles()
216 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles()
226 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles()
236 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
246 unsigned int aad_size, u8 *keysize, u32 num_mb) in test_mb_aead_speed() argument
273 data = kcalloc(num_mb, sizeof(*data), GFP_KERNEL); in test_mb_aead_speed()
291 for (i = 0; i < num_mb; ++i) in test_mb_aead_speed()
298 for (i = 0; i < num_mb; ++i) in test_mb_aead_speed()
305 for (i = 0; i < num_mb; ++i) in test_mb_aead_speed()
312 for (i = 0; i < num_mb; ++i) { in test_mb_aead_speed()
323 for (i = 0; i < num_mb; ++i) { in test_mb_aead_speed()
375 for (j = 0; j < num_mb; ++j) { in test_mb_aead_speed()
416 secs, num_mb); in test_mb_aead_speed()
420 num_mb); in test_mb_aead_speed()
434 for (i = 0; i < num_mb; ++i) in test_mb_aead_speed()
437 for (i = 0; i < num_mb; ++i) in test_mb_aead_speed()
440 for (i = 0; i < num_mb; ++i) in test_mb_aead_speed()
443 for (i = 0; i < num_mb; ++i) in test_mb_aead_speed()
967 u32 num_mb, int *rc) in do_mult_acipher_op() argument
972 for (i = 0; i < num_mb; i++) { in do_mult_acipher_op()
980 for (i = 0; i < num_mb; i++) { in do_mult_acipher_op()
993 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1000 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_jiffies()
1006 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_jiffies()
1012 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1020 int blen, u32 num_mb) in test_mb_acipher_cycles() argument
1027 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_cycles()
1033 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1043 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1053 (cycles + 4) / (8 * num_mb), blen); in test_mb_acipher_cycles()
1062 unsigned int tcount, u8 *keysize, u32 num_mb) in test_mb_skcipher_speed() argument
1078 data = kcalloc(num_mb, sizeof(*data), GFP_KERNEL); in test_mb_skcipher_speed()
1089 for (i = 0; i < num_mb; ++i) in test_mb_skcipher_speed()
1096 for (i = 0; i < num_mb; ++i) { in test_mb_skcipher_speed()
1107 for (i = 0; i < num_mb; ++i) { in test_mb_skcipher_speed()
1158 for (j = 0; j < num_mb; ++j) { in test_mb_skcipher_speed()
1184 num_mb); in test_mb_skcipher_speed()
1188 bs, num_mb); in test_mb_skcipher_speed()
1203 for (i = 0; i < num_mb; ++i) in test_mb_skcipher_speed()
1206 for (i = 0; i < num_mb; ++i) in test_mb_skcipher_speed()
1452 static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb) in do_test() argument
1467 ret = min(ret, do_test(NULL, 0, 0, i, num_mb)); in do_test()
2075 0, 16, 16, aead_speed_template_20_28_36, num_mb); in do_test()
2077 speed_template_16_24_32, num_mb); in do_test()
2079 0, 16, 16, aead_speed_template_20_28_36, num_mb); in do_test()
2081 speed_template_16_24_32, num_mb); in do_test()
2086 16, 16, aead_speed_template_19, num_mb); in do_test()
2088 16, 16, aead_speed_template_19, num_mb); in do_test()
2094 num_mb); in do_test()
2097 num_mb); in do_test()
2166 speed_template_16, num_mb); in do_test()
2168 speed_template_16, num_mb); in do_test()
2173 16, 16, aead_speed_template_19, num_mb); in do_test()
2175 16, 16, aead_speed_template_19, num_mb); in do_test()
2207 speed_template_16, num_mb); in do_test()
2209 speed_template_16, num_mb); in do_test()
2619 speed_template, num_mb); in do_test()
2621 speed_template, num_mb); in do_test()
2626 speed_template_16_24_32, num_mb); in do_test()
2628 speed_template_16_24_32, num_mb); in do_test()
2630 speed_template_16_24_32, num_mb); in do_test()
2632 speed_template_16_24_32, num_mb); in do_test()
2634 speed_template_32_40_48, num_mb); in do_test()
2636 speed_template_32_40_48, num_mb); in do_test()
2638 speed_template_32_64, num_mb); in do_test()
2640 speed_template_32_64, num_mb); in do_test()
2642 speed_template_16_24_32, num_mb); in do_test()
2644 speed_template_16_24_32, num_mb); in do_test()
2646 speed_template_16_24_32, num_mb); in do_test()
2648 speed_template_16_24_32, num_mb); in do_test()
2650 0, speed_template_20_28_36, num_mb); in do_test()
2652 0, speed_template_20_28_36, num_mb); in do_test()
2658 speed_template_24, num_mb); in do_test()
2661 speed_template_24, num_mb); in do_test()
2664 speed_template_24, num_mb); in do_test()
2667 speed_template_24, num_mb); in do_test()
2672 speed_template_8, num_mb); in do_test()
2674 speed_template_8, num_mb); in do_test()
2676 speed_template_8, num_mb); in do_test()
2678 speed_template_8, num_mb); in do_test()
2683 speed_template_16_32, num_mb); in do_test()
2685 speed_template_16_32, num_mb); in do_test()
2687 speed_template_16_32, num_mb); in do_test()
2689 speed_template_16_32, num_mb); in do_test()
2691 speed_template_16_32, num_mb); in do_test()
2693 speed_template_16_32, num_mb); in do_test()
2695 speed_template_32_48, num_mb); in do_test()
2697 speed_template_32_48, num_mb); in do_test()
2699 speed_template_32_64, num_mb); in do_test()
2701 speed_template_32_64, num_mb); in do_test()
2706 speed_template_16_24_32, num_mb); in do_test()
2708 speed_template_16_24_32, num_mb); in do_test()
2710 speed_template_16_24_32, num_mb); in do_test()
2712 speed_template_16_24_32, num_mb); in do_test()
2714 speed_template_16_24_32, num_mb); in do_test()
2716 speed_template_16_24_32, num_mb); in do_test()
2718 speed_template_32_40_48, num_mb); in do_test()
2720 speed_template_32_40_48, num_mb); in do_test()
2722 speed_template_32_48_64, num_mb); in do_test()
2724 speed_template_32_48_64, num_mb); in do_test()
2729 speed_template_8, num_mb); in do_test()
2734 speed_template_8_16, num_mb); in do_test()
2736 speed_template_8_16, num_mb); in do_test()
2738 speed_template_8_16, num_mb); in do_test()
2740 speed_template_8_16, num_mb); in do_test()
2742 speed_template_8_16, num_mb); in do_test()
2744 speed_template_8_16, num_mb); in do_test()
2749 speed_template_16_32, num_mb); in do_test()
2751 speed_template_16_32, num_mb); in do_test()
2753 speed_template_16_32, num_mb); in do_test()
2755 speed_template_16_32, num_mb); in do_test()
2757 speed_template_16_32, num_mb); in do_test()
2759 speed_template_16_32, num_mb); in do_test()
2761 speed_template_32_48, num_mb); in do_test()
2763 speed_template_32_48, num_mb); in do_test()
2765 speed_template_32_64, num_mb); in do_test()
2767 speed_template_32_64, num_mb); in do_test()
2772 speed_template_16_32, num_mb); in do_test()
2774 speed_template_16_32, num_mb); in do_test()
2776 speed_template_16_32, num_mb); in do_test()
2778 speed_template_16_32, num_mb); in do_test()
2780 speed_template_16_32, num_mb); in do_test()
2782 speed_template_16_32, num_mb); in do_test()
2784 speed_template_32_48, num_mb); in do_test()
2786 speed_template_32_48, num_mb); in do_test()
2788 speed_template_32_64, num_mb); in do_test()
2790 speed_template_32_64, num_mb); in do_test()
2795 speed_template_8_32, num_mb); in do_test()
2797 speed_template_8_32, num_mb); in do_test()
2799 speed_template_8_32, num_mb); in do_test()
2801 speed_template_8_32, num_mb); in do_test()
2803 speed_template_8_32, num_mb); in do_test()
2805 speed_template_8_32, num_mb); in do_test()
2810 speed_template_16_32, num_mb); in do_test()
2812 speed_template_16_32, num_mb); in do_test()
2814 speed_template_16_32, num_mb); in do_test()
2816 speed_template_16_32, num_mb); in do_test()
2835 err = do_test(alg, type, mask, mode, num_mb); in tcrypt_mod_init()
2877 module_param(num_mb, uint, 0000);
2878 MODULE_PARM_DESC(num_mb, "Number of concurrent requests to be used in mb speed tests (defaults to 8…