Lines Matching defs:bs
16 static int omap_crypto_copy_sg_lists(int total, int bs,
55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg,
62 new_len = ALIGN(total, bs);
88 static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs,
94 if (!IS_ALIGNED(total, bs))
102 if (!IS_ALIGNED(sg->length, bs))
125 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs,
136 ret = omap_crypto_check_sg(*sg, total, bs, flags);
139 ret = omap_crypto_copy_sgs(total, bs, sg, new_sg, flags);
144 ret = omap_crypto_copy_sg_lists(total, bs, sg, new_sg, flags);