• Home
  • Raw
  • Download

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()
736 int *rc) in do_mult_ahash_op() argument
742 rc[i] = crypto_ahash_digest(data[i].req); in do_mult_ahash_op()
746 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_ahash_op()
748 if (rc[i]) { in do_mult_ahash_op()
749 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_ahash_op()
750 err = rc[i]; in do_mult_ahash_op()
763 int *rc; in test_mb_ahash_jiffies() local
765 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_ahash_jiffies()
766 if (!rc) in test_mb_ahash_jiffies()
771 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_jiffies()
780 kfree(rc); in test_mb_ahash_jiffies()
790 int *rc; in test_mb_ahash_cycles() local
792 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_ahash_cycles()
793 if (!rc) in test_mb_ahash_cycles()
798 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_cycles()
808 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_cycles()
821 kfree(rc); in test_mb_ahash_cycles()
1169 u32 num_mb, int *rc) in do_mult_acipher_op() argument
1176 rc[i] = crypto_skcipher_encrypt(data[i].req); in do_mult_acipher_op()
1178 rc[i] = crypto_skcipher_decrypt(data[i].req); in do_mult_acipher_op()
1183 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_acipher_op()
1185 if (rc[i]) { in do_mult_acipher_op()
1186 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_acipher_op()
1187 err = rc[i]; in do_mult_acipher_op()
1200 int *rc; in test_mb_acipher_jiffies() local
1202 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_jiffies()
1203 if (!rc) in test_mb_acipher_jiffies()
1208 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_jiffies()
1217 kfree(rc); in test_mb_acipher_jiffies()
1227 int *rc; in test_mb_acipher_cycles() local
1229 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_cycles()
1230 if (!rc) in test_mb_acipher_cycles()
1235 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1245 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1258 kfree(rc); in test_mb_acipher_cycles()