• Home
  • Raw
  • Download

Lines Matching refs:rc

157 				u32 num_mb, int *rc)  in do_mult_aead_op()  argument
164 rc[i] = crypto_aead_encrypt(data[i].req); in do_mult_aead_op()
166 rc[i] = crypto_aead_decrypt(data[i].req); in do_mult_aead_op()
171 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_aead_op()
173 if (rc[i]) { in do_mult_aead_op()
174 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_aead_op()
175 err = rc[i]; in do_mult_aead_op()
188 int *rc; in test_mb_aead_jiffies() local
190 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_jiffies()
191 if (!rc) in test_mb_aead_jiffies()
196 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_jiffies()
205 kfree(rc); in test_mb_aead_jiffies()
215 int *rc; in test_mb_aead_cycles() local
217 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_cycles()
218 if (!rc) in test_mb_aead_cycles()
223 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles()
233 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_cycles()
246 kfree(rc); in test_mb_aead_cycles()
722 int *rc) in do_mult_ahash_op() argument
728 rc[i] = crypto_ahash_digest(data[i].req); in do_mult_ahash_op()
732 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_ahash_op()
734 if (rc[i]) { in do_mult_ahash_op()
735 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_ahash_op()
736 err = rc[i]; in do_mult_ahash_op()
749 int *rc; in test_mb_ahash_jiffies() local
751 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_ahash_jiffies()
752 if (!rc) in test_mb_ahash_jiffies()
757 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_jiffies()
766 kfree(rc); in test_mb_ahash_jiffies()
776 int *rc; in test_mb_ahash_cycles() local
778 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_ahash_cycles()
779 if (!rc) in test_mb_ahash_cycles()
784 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_cycles()
794 ret = do_mult_ahash_op(data, num_mb, rc); in test_mb_ahash_cycles()
807 kfree(rc); in test_mb_ahash_cycles()
1155 u32 num_mb, int *rc) in do_mult_acipher_op() argument
1162 rc[i] = crypto_skcipher_encrypt(data[i].req); in do_mult_acipher_op()
1164 rc[i] = crypto_skcipher_decrypt(data[i].req); in do_mult_acipher_op()
1169 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_acipher_op()
1171 if (rc[i]) { in do_mult_acipher_op()
1172 pr_info("concurrent request %d error %d\n", i, rc[i]); in do_mult_acipher_op()
1173 err = rc[i]; in do_mult_acipher_op()
1186 int *rc; in test_mb_acipher_jiffies() local
1188 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_jiffies()
1189 if (!rc) in test_mb_acipher_jiffies()
1194 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_jiffies()
1203 kfree(rc); in test_mb_acipher_jiffies()
1213 int *rc; in test_mb_acipher_cycles() local
1215 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_acipher_cycles()
1216 if (!rc) in test_mb_acipher_cycles()
1221 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1231 ret = do_mult_acipher_op(data, enc, num_mb, rc); in test_mb_acipher_cycles()
1244 kfree(rc); in test_mb_acipher_cycles()