Lines Matching refs:secs

184 				int blen, int secs, u32 num_mb)  in test_mb_aead_jiffies()  argument
195 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_aead_jiffies()
203 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
251 static void test_mb_aead_speed(const char *algo, int enc, int secs, in test_mb_aead_speed() argument
415 if (secs) { in test_mb_aead_speed()
417 secs, num_mb); in test_mb_aead_speed()
455 int blen, int secs) in test_aead_jiffies() argument
461 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies()
473 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
519 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument
662 if (secs) { in test_aead_speed()
664 secs); in test_aead_speed()
745 int secs, u32 num_mb) in test_mb_ahash_jiffies() argument
756 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_ahash_jiffies()
764 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_ahash_jiffies()
812 static void test_mb_ahash_speed(const char *algo, unsigned int secs, in test_mb_ahash_speed() argument
880 if (secs) { in test_mb_ahash_speed()
881 ret = test_mb_ahash_jiffies(data, speed[i].blen, secs, in test_mb_ahash_speed()
909 char *out, int secs) in test_ahash_jiffies_digest() argument
915 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies_digest()
923 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
929 int plen, char *out, int secs) in test_ahash_jiffies() argument
936 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
938 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies()
955 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
1055 static void test_ahash_speed_common(const char *algo, unsigned int secs, in test_ahash_speed_common() argument
1112 if (secs) { in test_ahash_speed_common()
1114 speed[i].plen, output, secs); in test_ahash_speed_common()
1136 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
1139 return test_ahash_speed_common(algo, secs, speed, 0); in test_ahash_speed()
1142 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
1145 return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC); in test_hash_speed()
1182 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1193 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_acipher_jiffies()
1201 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1249 static void test_mb_skcipher_speed(const char *algo, int enc, int secs, in test_mb_skcipher_speed() argument
1378 if (secs) { in test_mb_skcipher_speed()
1380 *b_size, secs, in test_mb_skcipher_speed()
1419 int blen, int secs) in test_acipher_jiffies() argument
1425 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_acipher_jiffies()
1439 bcount, secs, (u64)bcount * blen); in test_acipher_jiffies()
1490 static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, in test_skcipher_speed() argument
1594 if (secs) { in test_skcipher_speed()
1596 *b_size, secs); in test_skcipher_speed()
1620 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1624 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_acipher_speed()
1628 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
1632 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_cipher_speed()