Lines Matching defs:secs

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