Lines Matching defs:in
20 static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits,
35 for_each_sg(in, sg, nents, i) {
127 * @in: the input sg list
128 * @in_mapped_nents: the result of a dma_map_sg(in, ...), or 0 if not mapped.
129 * @skip: the number of bytes to skip in the input sg list
131 * @split_sizes: the respective size of each output sg list in bytes
139 * The @in is split into :
140 * - @out[0], which covers bytes [@skip .. @skip + @split_sizes[0] - 1] of @in
148 int sg_split(struct scatterlist *in, const int in_mapped_nents,
161 ret = sg_calculate_split(in, sg_nents(in), nb_splits, skip, split_sizes,
180 ret = sg_calculate_split(in, in_mapped_nents, nb_splits, skip,