sg[0].page = virt_to_page(p); sg[0].offset = offset_in_page(p); sg[0].length = blen; 
sg_set_buf(&sg[0], p, blen); 
static int test_cipher_jiffies(struct crypto_tfm *tfm, int enc, char *p,			       int blen, int sec){	struct scatterlist sg[8];	unsigned long start, end;	int bcount;	int ret;	sg[0].page = virt_to_page(p);	sg[0].offset = offset_in_page(p);	sg[0].length = blen;	for (start = jiffies, end = start + sec * HZ, bcount = 0;	     time_before(jiffies, end); bcount++) {		if (enc)			ret = crypto_cipher_encrypt(tfm, sg, sg, blen);		else			ret = crypto_cipher_decrypt(tfm, sg, sg, blen);		if (ret)			return ret;	}	printk("%d operations in %d seconds (%ld bytes)\n",	       bcount, sec, (long)bcount * blen);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/378f058cc49bcda7fa63d3cd86d2f9a0a5188b1c/tcrypt.c/clean/crypto/tcrypt.c