Lines Matching refs:secs

176 				int blen, int secs, u32 num_mb)  in test_mb_aead_jiffies()  argument
187 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_aead_jiffies()
195 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
243 static void test_mb_aead_speed(const char *algo, int enc, int secs, in test_mb_aead_speed() argument
414 if (secs) { in test_mb_aead_speed()
416 secs, num_mb); in test_mb_aead_speed()
454 int blen, int secs) in test_aead_jiffies() argument
460 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies()
472 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
518 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument
667 if (secs) { in test_aead_speed()
669 secs); in test_aead_speed()
720 char *out, int secs) in test_ahash_jiffies_digest() argument
726 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies_digest()
734 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
740 int plen, char *out, int secs) in test_ahash_jiffies() argument
747 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
749 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies()
766 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
866 static void test_ahash_speed_common(const char *algo, unsigned int secs, in test_ahash_speed_common() argument
923 if (secs) { in test_ahash_speed_common()
925 speed[i].plen, output, secs); in test_ahash_speed_common()
947 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
950 return test_ahash_speed_common(algo, secs, speed, 0); in test_ahash_speed()
953 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
956 return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC); in test_hash_speed()
993 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1004 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_acipher_jiffies()
1012 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1060 static void test_mb_skcipher_speed(const char *algo, int enc, int secs, in test_mb_skcipher_speed() argument
1181 if (secs) { in test_mb_skcipher_speed()
1183 bs, secs, in test_mb_skcipher_speed()
1222 int blen, int secs) in test_acipher_jiffies() argument
1228 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_acipher_jiffies()
1242 bcount, secs, (u64)bcount * blen); in test_acipher_jiffies()
1293 static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, in test_skcipher_speed() argument
1397 if (secs) { in test_skcipher_speed()
1399 bs, secs); in test_skcipher_speed()
1423 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1427 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_acipher_speed()
1431 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
1435 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_cipher_speed()