Lines Matching refs:secs
187 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
198 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_aead_jiffies()
206 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_aead_jiffies()
254 static void test_mb_aead_speed(const char *algo, int enc, int secs, in test_mb_aead_speed() argument
418 if (secs) { in test_mb_aead_speed()
420 secs, num_mb); in test_mb_aead_speed()
458 int blen, int secs) in test_aead_jiffies() argument
464 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies()
476 bcount, secs, (long)bcount * blen); in test_aead_jiffies()
522 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument
665 if (secs) { in test_aead_speed()
667 secs); in test_aead_speed()
748 int secs, u32 num_mb) in test_mb_ahash_jiffies() argument
759 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_ahash_jiffies()
767 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_ahash_jiffies()
815 static void test_mb_ahash_speed(const char *algo, unsigned int secs, in test_mb_ahash_speed() argument
883 if (secs) { in test_mb_ahash_speed()
884 ret = test_mb_ahash_jiffies(data, speed[i].blen, secs, in test_mb_ahash_speed()
912 char *out, int secs) in test_ahash_jiffies_digest() argument
918 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies_digest()
926 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
932 int plen, char *out, int secs) in test_ahash_jiffies() argument
939 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
941 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies()
958 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
1058 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, (long)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, (long)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()