Lines Matching refs:rc
158 u32 num_mb, int *rc) in do_mult_aead_op() argument
165 rc[i] = crypto_aead_encrypt(data[i].req); in do_mult_aead_op()
167 rc[i] = crypto_aead_decrypt(data[i].req); in do_mult_aead_op()
172 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_aead_op()
174 if (rc[i]) { in do_mult_aead_op()
175 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_aead_op()
176 err = rc[i]; in do_mult_aead_op()
189 int *rc; in test_mb_aead_jiffies() local
191 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_jiffies()
192 if (!rc) in test_mb_aead_jiffies()
197 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_jiffies()
206 kfree(rc); in test_mb_aead_jiffies()
216 int *rc; in test_mb_aead_cycles() local
218 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_cycles()
219 if (!rc) in test_mb_aead_cycles()
224 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles()
234 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles()
247 kfree(rc); in test_mb_aead_cycles()
723 int *rc) in do_mult_ahash_op() argument
729 rc[i] = crypto_ahash_digest(data[i].req); in do_mult_ahash_op()
733 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_ahash_op()
735 if (rc[i]) { in do_mult_ahash_op()
736 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_ahash_op()
737 err = rc[i]; in do_mult_ahash_op()
750 int *rc; in test_mb_ahash_jiffies() local
752 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_ahash_jiffies()
753 if (!rc) in test_mb_ahash_jiffies()
758 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_jiffies()
767 kfree(rc); in test_mb_ahash_jiffies()
777 int *rc; in test_mb_ahash_cycles() local
779 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_ahash_cycles()
780 if (!rc) in test_mb_ahash_cycles()
785 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_cycles()
795 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_cycles()
808 kfree(rc); in test_mb_ahash_cycles()
1156 u32 num_mb, int *rc) in do_mult_acipher_op() argument
1163 rc[i] = crypto_skcipher_encrypt(data[i].req); in do_mult_acipher_op()
1165 rc[i] = crypto_skcipher_decrypt(data[i].req); in do_mult_acipher_op()
1170 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_acipher_op()
1172 if (rc[i]) { in do_mult_acipher_op()
1173 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_acipher_op()
1174 err = rc[i]; in do_mult_acipher_op()
1187 int *rc; in test_mb_acipher_jiffies() local
1189 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_jiffies()
1190 if (!rc) in test_mb_acipher_jiffies()
1195 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_jiffies()
1204 kfree(rc); in test_mb_acipher_jiffies()
1214 int *rc; in test_mb_acipher_cycles() local
1216 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_cycles()
1217 if (!rc) in test_mb_acipher_cycles()
1222 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1232 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1245 kfree(rc); in test_mb_acipher_cycles()