Lines Matching refs:sg
482 struct scatterlist *sg; member
573 static inline struct scatterlist *create_single_sg(struct scatterlist *sg, in create_single_sg() argument
576 sg_set_buf(sg, buf, buflen); in create_single_sg()
577 sg++; in create_single_sg()
578 return sg; in create_single_sg()
594 struct scatterlist *sg = to_sg; in create_multi_sg() local
602 sg_set_buf(sg, sg_virt(from_sg), sglen); in create_multi_sg()
604 sg++; in create_multi_sg()
607 return sg; in create_multi_sg()
647 struct scatterlist *sg; in nitrox_creq_set_src_sg() local
651 sg = creq->src; in nitrox_creq_set_src_sg()
652 sg_init_table(sg, nents); in nitrox_creq_set_src_sg()
661 sg = create_single_sg(sg, iv, ivsize); in nitrox_creq_set_src_sg()
663 create_multi_sg(sg, src, buflen); in nitrox_creq_set_src_sg()
705 struct scatterlist *sg; in nitrox_creq_set_dst_sg() local
709 sg = creq->dst; in nitrox_creq_set_dst_sg()
710 sg_init_table(sg, nents); in nitrox_creq_set_dst_sg()
719 sg = create_single_sg(sg, creq->orh, ORH_HLEN); in nitrox_creq_set_dst_sg()
721 sg = create_single_sg(sg, iv, ivsize); in nitrox_creq_set_dst_sg()
723 sg = create_multi_sg(sg, dst, buflen); in nitrox_creq_set_dst_sg()
725 create_single_sg(sg, creq->comp, COMP_HLEN); in nitrox_creq_set_dst_sg()