Lines Matching refs:secs

183 				int blen, int secs, u32 num_mb)  in test_mb_aead_jiffies()  argument
194 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_aead_jiffies()
202 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_aead_jiffies()
250 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, (long)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
661 if (secs) { in test_aead_speed()
663 secs); in test_aead_speed()
744 int secs, u32 num_mb) in test_mb_ahash_jiffies() argument
755 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_ahash_jiffies()
763 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_ahash_jiffies()
811 static void test_mb_ahash_speed(const char *algo, unsigned int secs, in test_mb_ahash_speed() argument
879 if (secs) { in test_mb_ahash_speed()
880 ret = test_mb_ahash_jiffies(data, speed[i].blen, secs, in test_mb_ahash_speed()
908 char *out, int secs) in test_ahash_jiffies_digest() argument
914 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies_digest()
922 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
928 int plen, char *out, int secs) in test_ahash_jiffies() argument
935 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
937 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies()
954 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
1054 static void test_ahash_speed_common(const char *algo, unsigned int secs, in test_ahash_speed_common() argument
1111 if (secs) { in test_ahash_speed_common()
1113 speed[i].plen, output, secs); in test_ahash_speed_common()
1135 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
1138 return test_ahash_speed_common(algo, secs, speed, 0); in test_ahash_speed()
1141 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
1144 return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC); in test_hash_speed()
1181 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1192 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_acipher_jiffies()
1200 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1248 static void test_mb_skcipher_speed(const char *algo, int enc, int secs, in test_mb_skcipher_speed() argument
1377 if (secs) { in test_mb_skcipher_speed()
1379 *b_size, secs, in test_mb_skcipher_speed()
1418 int blen, int secs) in test_acipher_jiffies() argument
1424 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_acipher_jiffies()
1438 bcount, secs, (long)bcount * blen); in test_acipher_jiffies()
1489 static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, in test_skcipher_speed() argument
1593 if (secs) { in test_skcipher_speed()
1595 *b_size, secs); in test_skcipher_speed()
1619 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1623 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_acipher_speed()
1627 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
1631 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_cipher_speed()