Lines Matching refs:secs
76 struct scatterlist *sg, int blen, int secs) in test_cipher_jiffies() argument
82 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_cipher_jiffies()
94 bcount, secs, (long)bcount * blen); in test_cipher_jiffies()
146 int blen, int secs) in test_aead_jiffies() argument
152 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies()
164 bcount, secs, (long)bcount * blen); in test_aead_jiffies()
268 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument
386 if (secs) in test_aead_speed()
388 secs); in test_aead_speed()
419 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
498 if (secs) in test_cipher_speed()
500 *b_size, secs); in test_cipher_speed()
521 char *out, int secs) in test_hash_jiffies_digest() argument
527 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_hash_jiffies_digest()
535 bcount / secs, ((long)bcount * blen) / secs); in test_hash_jiffies_digest()
541 int blen, int plen, char *out, int secs) in test_hash_jiffies() argument
548 return test_hash_jiffies_digest(desc, sg, blen, out, secs); in test_hash_jiffies()
550 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_hash_jiffies()
567 bcount / secs, ((long)bcount * blen) / secs); in test_hash_jiffies()
688 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
734 if (secs) in test_hash_speed()
736 speed[i].plen, output, secs); in test_hash_speed()
780 char *out, int secs) in test_ahash_jiffies_digest() argument
786 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies_digest()
794 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
800 int plen, char *out, int secs) in test_ahash_jiffies() argument
807 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
809 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies()
826 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
926 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
976 if (secs) in test_ahash_speed()
978 speed[i].plen, output, secs); in test_ahash_speed()
1009 int blen, int secs) in test_acipher_jiffies() argument
1015 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_acipher_jiffies()
1029 bcount, secs, (long)bcount * blen); in test_acipher_jiffies()
1080 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1184 if (secs) in test_acipher_speed()
1186 *b_size, secs); in test_acipher_speed()