Lines Matching refs:src_sg
337 struct scatterlist *src_sg, int size, in encrypt_scatterlist() argument
370 crypto_blkcipher_encrypt_iv(&desc, dest_sg, src_sg, size); in encrypt_scatterlist()
627 struct scatterlist *src_sg, int size, in decrypt_scatterlist() argument
649 rc = crypto_blkcipher_decrypt_iv(&desc, dest_sg, src_sg, size); in decrypt_scatterlist()
679 struct scatterlist src_sg, dst_sg; in ecryptfs_encrypt_page_offset() local
681 sg_init_table(&src_sg, 1); in ecryptfs_encrypt_page_offset()
684 sg_set_page(&src_sg, src_page, size, src_offset); in ecryptfs_encrypt_page_offset()
686 return encrypt_scatterlist(crypt_stat, &dst_sg, &src_sg, size, iv); in ecryptfs_encrypt_page_offset()
707 struct scatterlist src_sg, dst_sg; in ecryptfs_decrypt_page_offset() local
709 sg_init_table(&src_sg, 1); in ecryptfs_decrypt_page_offset()
710 sg_set_page(&src_sg, src_page, size, src_offset); in ecryptfs_decrypt_page_offset()
715 return decrypt_scatterlist(crypt_stat, &dst_sg, &src_sg, size, iv); in ecryptfs_decrypt_page_offset()