Lines Matching refs:rc

150 				u32 num_mb, int *rc)  in do_mult_aead_op()  argument
157 rc[i] = crypto_aead_encrypt(data[i].req); in do_mult_aead_op()
159 rc[i] = crypto_aead_decrypt(data[i].req); in do_mult_aead_op()
164 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_aead_op()
166 if (rc[i]) { in do_mult_aead_op()
167 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_aead_op()
168 err = rc[i]; in do_mult_aead_op()
181 int *rc; in test_mb_aead_jiffies() local
183 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_jiffies()
184 if (!rc) in test_mb_aead_jiffies()
189 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_jiffies()
198 kfree(rc); in test_mb_aead_jiffies()
208 int *rc; in test_mb_aead_cycles() local
210 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_cycles()
211 if (!rc) 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()
239 kfree(rc); in test_mb_aead_cycles()
967 u32 num_mb, int *rc) in do_mult_acipher_op() argument
974 rc[i] = crypto_skcipher_encrypt(data[i].req); in do_mult_acipher_op()
976 rc[i] = crypto_skcipher_decrypt(data[i].req); in do_mult_acipher_op()
981 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_acipher_op()
983 if (rc[i]) { in do_mult_acipher_op()
984 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_acipher_op()
985 err = rc[i]; in do_mult_acipher_op()
998 int *rc; in test_mb_acipher_jiffies() local
1000 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_jiffies()
1001 if (!rc) in test_mb_acipher_jiffies()
1006 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_jiffies()
1015 kfree(rc); in test_mb_acipher_jiffies()
1025 int *rc; in test_mb_acipher_cycles() local
1027 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_cycles()
1028 if (!rc) 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()
1056 kfree(rc); in test_mb_acipher_cycles()