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
422 if (secs) { in test_mb_aead_speed()
424 secs, num_mb); in test_mb_aead_speed()
462 int blen, int secs) in test_aead_jiffies() argument
468 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies()
480 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
526 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument
675 if (secs) { in test_aead_speed()
677 secs); in test_aead_speed()
758 int secs, u32 num_mb) in test_mb_ahash_jiffies() argument
769 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_ahash_jiffies()
777 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_ahash_jiffies()
825 static void test_mb_ahash_speed(const char *algo, unsigned int secs, in test_mb_ahash_speed() argument
893 if (secs) { in test_mb_ahash_speed()
894 ret = test_mb_ahash_jiffies(data, speed[i].blen, secs, in test_mb_ahash_speed()
922 char *out, int secs) in test_ahash_jiffies_digest() argument
928 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies_digest()
936 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
942 int plen, char *out, int secs) in test_ahash_jiffies() argument
949 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
951 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies()
968 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
1068 static void test_ahash_speed_common(const char *algo, unsigned int secs, in test_ahash_speed_common() argument
1125 if (secs) { in test_ahash_speed_common()
1127 speed[i].plen, output, secs); in test_ahash_speed_common()
1149 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
1152 return test_ahash_speed_common(algo, secs, speed, 0); in test_ahash_speed()
1155 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
1158 return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC); in test_hash_speed()
1195 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1206 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_acipher_jiffies()
1214 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1262 static void test_mb_skcipher_speed(const char *algo, int enc, int secs, in test_mb_skcipher_speed() argument
1392 if (secs) { in test_mb_skcipher_speed()
1394 bs, secs, in test_mb_skcipher_speed()
1433 int blen, int secs) in test_acipher_jiffies() argument
1439 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_acipher_jiffies()
1453 bcount, secs, (u64)bcount * blen); in test_acipher_jiffies()
1504 static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, in test_skcipher_speed() argument
1609 if (secs) { in test_skcipher_speed()
1611 bs, secs); in test_skcipher_speed()
1635 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1639 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_acipher_speed()
1643 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
1647 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_cipher_speed()