Lines Matching full:blen
173 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
192 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
200 int blen, u32 num_mb) in test_mb_aead_cycles() argument
233 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
451 int blen, int secs) in test_aead_jiffies() argument
469 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
473 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
510 (cycles + 4) / 8, blen); in test_aead_cycles()
716 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest() argument
731 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
736 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies() argument
743 if (plen == blen) in test_ahash_jiffies()
744 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
751 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_jiffies()
763 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
768 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, in test_ahash_cycles_digest() argument
801 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles_digest()
806 static int test_ahash_cycles(struct ahash_request *req, int blen, in test_ahash_cycles() argument
812 if (plen == blen) in test_ahash_cycles()
813 return test_ahash_cycles_digest(req, blen, out); in test_ahash_cycles()
820 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
839 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
858 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles()
904 for (i = 0; speed[i].blen != 0; i++) { in test_ahash_speed_common()
905 if (speed[i].blen > TVMEMSIZE * PAGE_SIZE) { in test_ahash_speed_common()
907 speed[i].blen, TVMEMSIZE * PAGE_SIZE); in test_ahash_speed_common()
916 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen); in test_ahash_speed_common()
921 ret = test_ahash_jiffies(req, speed[i].blen, in test_ahash_speed_common()
925 ret = test_ahash_cycles(req, speed[i].blen, in test_ahash_speed_common()
990 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1009 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1017 int blen, u32 num_mb) in test_mb_acipher_cycles() argument
1050 (cycles + 4) / (8 * num_mb), blen); in test_mb_acipher_cycles()
1228 int blen, int secs) in test_acipher_jiffies() argument
1248 bcount, secs, (u64)bcount * blen); in test_acipher_jiffies()
1253 int blen) in test_acipher_cycles() argument
1294 (cycles + 4) / 8, blen); in test_acipher_cycles()