Lines Matching full:blen
176 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
195 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
203 int blen, u32 num_mb) in test_mb_aead_cycles() argument
236 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
454 int blen, int secs) in test_aead_jiffies() argument
472 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
476 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
513 (cycles + 4) / 8, blen); in test_aead_cycles()
719 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest() argument
734 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
739 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies() argument
746 if (plen == blen) in test_ahash_jiffies()
747 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
754 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_jiffies()
766 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
771 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, in test_ahash_cycles_digest() argument
804 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles_digest()
809 static int test_ahash_cycles(struct ahash_request *req, int blen, in test_ahash_cycles() argument
815 if (plen == blen) in test_ahash_cycles()
816 return test_ahash_cycles_digest(req, blen, out); in test_ahash_cycles()
823 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
842 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
861 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles()
907 for (i = 0; speed[i].blen != 0; i++) { in test_ahash_speed_common()
908 if (speed[i].blen > TVMEMSIZE * PAGE_SIZE) { in test_ahash_speed_common()
910 speed[i].blen, TVMEMSIZE * PAGE_SIZE); in test_ahash_speed_common()
919 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen); in test_ahash_speed_common()
924 ret = test_ahash_jiffies(req, speed[i].blen, in test_ahash_speed_common()
928 ret = test_ahash_cycles(req, speed[i].blen, in test_ahash_speed_common()
993 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1012 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1020 int blen, u32 num_mb) in test_mb_acipher_cycles() argument
1053 (cycles + 4) / (8 * num_mb), blen); in test_mb_acipher_cycles()
1222 int blen, int secs) in test_acipher_jiffies() argument
1242 bcount, secs, (u64)bcount * blen); in test_acipher_jiffies()
1247 int blen) in test_acipher_cycles() argument
1288 (cycles + 4) / 8, blen); in test_acipher_cycles()