• Home
  • Raw
  • Download

Lines Matching refs:walk

797 				  struct artpec6_crypto_walk *walk, size_t size)  in setup_bounce_buffer_in()  argument
807 bbuf->sg = walk->sg; in setup_bounce_buffer_in()
808 bbuf->offset = walk->offset; in setup_bounce_buffer_in()
816 pr_debug("BOUNCE %zu offset %zu\n", size, walk->offset); in setup_bounce_buffer_in()
823 struct artpec6_crypto_walk *walk, in artpec6_crypto_setup_sg_descrs_in() argument
830 while (walk->sg && count) { in artpec6_crypto_setup_sg_descrs_in()
831 chunk = min(count, artpec6_crypto_walk_chunklen(walk)); in artpec6_crypto_setup_sg_descrs_in()
832 addr = artpec6_crypto_walk_chunk_phys(walk); in artpec6_crypto_setup_sg_descrs_in()
845 ret = setup_bounce_buffer_in(common, walk, chunk); in artpec6_crypto_setup_sg_descrs_in()
848 ret = setup_bounce_buffer_in(common, walk, chunk); in artpec6_crypto_setup_sg_descrs_in()
857 sg_page(walk->sg), in artpec6_crypto_setup_sg_descrs_in()
858 walk->sg->offset + in artpec6_crypto_setup_sg_descrs_in()
859 walk->offset, in artpec6_crypto_setup_sg_descrs_in()
875 artpec6_crypto_walk_advance(walk, chunk); in artpec6_crypto_setup_sg_descrs_in()
886 struct artpec6_crypto_walk *walk, in artpec6_crypto_setup_sg_descrs_out() argument
893 while (walk->sg && count) { in artpec6_crypto_setup_sg_descrs_out()
894 chunk = min(count, artpec6_crypto_walk_chunklen(walk)); in artpec6_crypto_setup_sg_descrs_out()
895 addr = artpec6_crypto_walk_chunk_phys(walk); in artpec6_crypto_setup_sg_descrs_out()
904 sg_pcopy_to_buffer(walk->sg, 1, buf, chunk, in artpec6_crypto_setup_sg_descrs_out()
905 walk->offset); in artpec6_crypto_setup_sg_descrs_out()
914 sg_page(walk->sg), in artpec6_crypto_setup_sg_descrs_out()
915 walk->sg->offset + in artpec6_crypto_setup_sg_descrs_out()
916 walk->offset, in artpec6_crypto_setup_sg_descrs_out()
932 artpec6_crypto_walk_advance(walk, chunk); in artpec6_crypto_setup_sg_descrs_out()
1402 struct artpec6_crypto_walk walk; in artpec6_crypto_prepare_hash() local
1426 artpec6_crypto_walk_init(&walk, areq->src); in artpec6_crypto_prepare_hash()
1428 error = artpec6_crypto_setup_sg_descrs_out(common, &walk, in artpec6_crypto_prepare_hash()
1434 if (walk.sg) { in artpec6_crypto_prepare_hash()
1662 struct artpec6_crypto_walk walk; in artpec6_crypto_prepare_crypto() local
1783 artpec6_crypto_walk_init(&walk, areq->src); in artpec6_crypto_prepare_crypto()
1784 ret = artpec6_crypto_setup_sg_descrs_out(common, &walk, areq->cryptlen); in artpec6_crypto_prepare_crypto()
1789 artpec6_crypto_walk_init(&walk, areq->dst); in artpec6_crypto_prepare_crypto()
1790 ret = artpec6_crypto_setup_sg_descrs_in(common, &walk, areq->cryptlen); in artpec6_crypto_prepare_crypto()
1924 struct artpec6_crypto_walk walk; in artpec6_crypto_prepare_aead() local
1926 artpec6_crypto_walk_init(&walk, areq->src); in artpec6_crypto_prepare_aead()
1930 ret = artpec6_crypto_setup_sg_descrs_out(common, &walk, count); in artpec6_crypto_prepare_aead()
1947 ret = artpec6_crypto_setup_sg_descrs_out(common, &walk, count); in artpec6_crypto_prepare_aead()
1966 struct artpec6_crypto_walk walk; in artpec6_crypto_prepare_aead() local
1972 artpec6_crypto_walk_init(&walk, areq->dst); in artpec6_crypto_prepare_aead()
1975 count = artpec6_crypto_walk_advance(&walk, areq->assoclen); in artpec6_crypto_prepare_aead()
1980 ret = artpec6_crypto_setup_sg_descrs_in(common, &walk, count); in artpec6_crypto_prepare_aead()
2012 ret = artpec6_crypto_setup_sg_descrs_in(common, &walk, in artpec6_crypto_prepare_aead()