Lines Matching refs:skip
21 off_t skip, const size_t *sizes, in sg_calculate_split() argument
37 if (skip > sglen) { in sg_calculate_split()
38 skip -= sglen; in sg_calculate_split()
42 len = min_t(size_t, size, sglen - skip); in sg_calculate_split()
45 curr->skip_sg0 = skip; in sg_calculate_split()
51 while (!size && (skip + len < sglen) && (--nb_splits > 0)) { in sg_calculate_split()
54 skip += len; in sg_calculate_split()
55 len = min_t(size_t, size, sglen - skip); in sg_calculate_split()
58 curr->skip_sg0 = skip; in sg_calculate_split()
63 skip = 0; in sg_calculate_split()
149 const off_t skip, const int nb_splits, in sg_split() argument
161 ret = sg_calculate_split(in, sg_nents(in), nb_splits, skip, split_sizes, in sg_split()
180 ret = sg_calculate_split(in, in_mapped_nents, nb_splits, skip, in sg_split()