Home
last modified time | relevance | path

Searched refs:sg_from (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/memstick/core/
H A Dms_block.c33 * Copies section of 'sg_from' starting from offset 'offset' and with length
36 static size_t msb_sg_copy(struct scatterlist *sg_from, in msb_sg_copy() argument
42 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 in msb_sg_copy()
[all...]
/kernel/linux/linux-6.6/drivers/memstick/core/
H A Dms_block.c33 * Copies section of 'sg_from' starting from offset 'offset' and with length
36 static size_t msb_sg_copy(struct scatterlist *sg_from, in msb_sg_copy() argument
42 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 in msb_sg_copy()
[all...]

Completed in 2 milliseconds