Lines Matching defs:secs

184 				int blen, int secs, u32 num_mb)
195 for (start = jiffies, end = start + secs * HZ, bcount = 0;
203 bcount * num_mb, secs, (u64)bcount * blen * num_mb);
251 static void test_mb_aead_speed(const char *algo, int enc, int secs,
415 if (secs) {
417 secs, num_mb);
455 int blen, int secs)
461 for (start = jiffies, end = start + secs * HZ, bcount = 0;
473 bcount, secs, (u64)bcount * blen);
519 static void test_aead_speed(const char *algo, int enc, unsigned int secs,
662 if (secs) {
664 secs);
745 int secs, u32 num_mb)
756 for (start = jiffies, end = start + secs * HZ, bcount = 0;
764 bcount * num_mb, secs, (u64)bcount * blen * num_mb);
812 static void test_mb_ahash_speed(const char *algo, unsigned int secs,
880 if (secs) {
881 ret = test_mb_ahash_jiffies(data, speed[i].blen, secs,
909 char *out, int secs)
915 for (start = jiffies, end = start + secs * HZ, bcount = 0;
923 bcount / secs, ((long)bcount * blen) / secs);
929 int plen, char *out, int secs)
936 return test_ahash_jiffies_digest(req, blen, out, secs);
938 for (start = jiffies, end = start + secs * HZ, bcount = 0;
955 bcount / secs, ((long)bcount * blen) / secs);
1055 static void test_ahash_speed_common(const char *algo, unsigned int secs,
1112 if (secs) {
1114 speed[i].plen, output, secs);
1136 static void test_ahash_speed(const char *algo, unsigned int secs,
1139 return test_ahash_speed_common(algo, secs, speed, 0);
1142 static void test_hash_speed(const char *algo, unsigned int secs,
1145 return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC);
1182 int blen, int secs, u32 num_mb)
1193 for (start = jiffies, end = start + secs * HZ, bcount = 0;
1201 bcount * num_mb, secs, (u64)bcount * blen * num_mb);
1249 static void test_mb_skcipher_speed(const char *algo, int enc, int secs,
1369 if (secs) {
1371 *b_size, secs,
1410 int blen, int secs)
1416 for (start = jiffies, end = start + secs * HZ, bcount = 0;
1430 bcount, secs, (u64)bcount * blen);
1481 static void test_skcipher_speed(const char *algo, int enc, unsigned int secs,
1585 if (secs) {
1587 *b_size, secs);
1611 static void test_acipher_speed(const char *algo, int enc, unsigned int secs,
1615 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize,
1619 static void test_cipher_speed(const char *algo, int enc, unsigned int secs,
1623 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize,