Searched refs:sg_from (Results 1 – 1 of 1) sorted by relevance
36 static size_t msb_sg_copy(struct scatterlist *sg_from, in msb_sg_copy() argument42 if (offset >= sg_from->length) { in msb_sg_copy()43 if (sg_is_last(sg_from)) in msb_sg_copy()46 offset -= sg_from->length; in msb_sg_copy()47 sg_from = sg_next(sg_from); in msb_sg_copy()51 copied = min(len, sg_from->length - offset); in msb_sg_copy()52 sg_set_page(sg_to, sg_page(sg_from), in msb_sg_copy()53 copied, sg_from->offset + offset); in msb_sg_copy()58 if (sg_is_last(sg_from) || !len) in msb_sg_copy()63 sg_from = sg_next(sg_from); in msb_sg_copy()[all …]