Lines Matching refs:blen
187 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
206 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_aead_jiffies()
214 int blen, u32 num_mb) in test_mb_aead_cycles() argument
247 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
458 int blen, int secs) in test_aead_jiffies() argument
476 bcount, secs, (long)bcount * blen); in test_aead_jiffies()
480 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
517 (cycles + 4) / 8, blen); in test_aead_cycles()
747 static int test_mb_ahash_jiffies(struct test_mb_ahash_data *data, int blen, in test_mb_ahash_jiffies() argument
767 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_ahash_jiffies()
774 static int test_mb_ahash_cycles(struct test_mb_ahash_data *data, int blen, in test_mb_ahash_cycles() argument
808 (cycles + 4) / (8 * num_mb), blen); in test_mb_ahash_cycles()
860 for (i = 0; speed[i].blen != 0; i++) { in test_mb_ahash_speed()
862 if (speed[i].blen != speed[i].plen) in test_mb_ahash_speed()
865 if (speed[i].blen > XBUFSIZE * PAGE_SIZE) { in test_mb_ahash_speed()
867 speed[i].blen, XBUFSIZE * PAGE_SIZE); in test_mb_ahash_speed()
876 data[k].result, speed[i].blen); in test_mb_ahash_speed()
880 i, speed[i].blen, speed[i].plen, in test_mb_ahash_speed()
881 speed[i].blen / speed[i].plen); in test_mb_ahash_speed()
884 ret = test_mb_ahash_jiffies(data, speed[i].blen, secs, in test_mb_ahash_speed()
888 ret = test_mb_ahash_cycles(data, speed[i].blen, num_mb); in test_mb_ahash_speed()
911 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest() argument
926 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
931 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies() argument
938 if (plen == blen) in test_ahash_jiffies()
939 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
946 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_jiffies()
958 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
963 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, in test_ahash_cycles_digest() argument
996 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles_digest()
1001 static int test_ahash_cycles(struct ahash_request *req, int blen, in test_ahash_cycles() argument
1007 if (plen == blen) in test_ahash_cycles()
1008 return test_ahash_cycles_digest(req, blen, out); in test_ahash_cycles()
1015 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
1034 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
1053 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles()
1099 for (i = 0; speed[i].blen != 0; i++) { in test_ahash_speed_common()
1100 if (speed[i].blen > TVMEMSIZE * PAGE_SIZE) { in test_ahash_speed_common()
1102 speed[i].blen, TVMEMSIZE * PAGE_SIZE); in test_ahash_speed_common()
1108 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen); in test_ahash_speed_common()
1113 ret = test_ahash_jiffies(req, speed[i].blen, in test_ahash_speed_common()
1117 ret = test_ahash_cycles(req, speed[i].blen, in test_ahash_speed_common()
1182 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1201 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1209 int blen, u32 num_mb) in test_mb_acipher_cycles() argument
1242 (cycles + 4) / (8 * num_mb), blen); in test_mb_acipher_cycles()
1419 int blen, int secs) in test_acipher_jiffies() argument
1439 bcount, secs, (long)bcount * blen); in test_acipher_jiffies()
1444 int blen) in test_acipher_cycles() argument
1485 (cycles + 4) / 8, blen); in test_acipher_cycles()