Searched refs:sglen (Results 1 – 1 of 1) sorted by relevance
25 unsigned int sglen; in sg_calculate_split() local36 sglen = mapped ? sg_dma_len(sg) : sg->length; in sg_calculate_split()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()51 while (!size && (skip + len < sglen) && (--nb_splits > 0)) { in sg_calculate_split()55 len = min_t(size_t, size, sglen - skip); in sg_calculate_split()