Lines Matching refs:blen

184 				int blen, int secs, u32 num_mb)
203 bcount * num_mb, secs, (u64)bcount * blen * num_mb);
211 int blen, u32 num_mb)
244 (cycles + 4) / (8 * num_mb), blen);
455 int blen, int secs)
473 bcount, secs, (u64)bcount * blen);
477 static int test_aead_cycles(struct aead_request *req, int enc, int blen)
514 (cycles + 4) / 8, blen);
744 static int test_mb_ahash_jiffies(struct test_mb_ahash_data *data, int blen,
764 bcount * num_mb, secs, (u64)bcount * blen * num_mb);
771 static int test_mb_ahash_cycles(struct test_mb_ahash_data *data, int blen,
805 (cycles + 4) / (8 * num_mb), blen);
857 for (i = 0; speed[i].blen != 0; i++) {
859 if (speed[i].blen != speed[i].plen)
862 if (speed[i].blen > XBUFSIZE * PAGE_SIZE) {
864 speed[i].blen, XBUFSIZE * PAGE_SIZE);
873 data[k].result, speed[i].blen);
877 i, speed[i].blen, speed[i].plen,
878 speed[i].blen / speed[i].plen);
881 ret = test_mb_ahash_jiffies(data, speed[i].blen, secs,
885 ret = test_mb_ahash_cycles(data, speed[i].blen, num_mb);
908 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen,
923 bcount / secs, ((long)bcount * blen) / secs);
928 static int test_ahash_jiffies(struct ahash_request *req, int blen,
935 if (plen == blen)
936 return test_ahash_jiffies_digest(req, blen, out, secs);
943 for (pcount = 0; pcount < blen; pcount += plen) {
955 bcount / secs, ((long)bcount * blen) / secs);
960 static int test_ahash_cycles_digest(struct ahash_request *req, int blen,
993 cycles / 8, cycles / (8 * blen));
998 static int test_ahash_cycles(struct ahash_request *req, int blen,
1004 if (plen == blen)
1005 return test_ahash_cycles_digest(req, blen, out);
1012 for (pcount = 0; pcount < blen; pcount += plen) {
1031 for (pcount = 0; pcount < blen; pcount += plen) {
1050 cycles / 8, cycles / (8 * blen));
1096 for (i = 0; speed[i].blen != 0; i++) {
1097 if (speed[i].blen > TVMEMSIZE * PAGE_SIZE) {
1099 speed[i].blen, TVMEMSIZE * PAGE_SIZE);
1108 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen);
1113 ret = test_ahash_jiffies(req, speed[i].blen,
1117 ret = test_ahash_cycles(req, speed[i].blen,
1182 int blen, int secs, u32 num_mb)
1201 bcount * num_mb, secs, (u64)bcount * blen * num_mb);
1209 int blen, u32 num_mb)
1242 (cycles + 4) / (8 * num_mb), blen);
1410 int blen, int secs)
1430 bcount, secs, (u64)bcount * blen);
1435 int blen)
1476 (cycles + 4) / 8, blen);