Lines Matching refs:to_copy
351 size_t to_copy; in qp_memcpy_to_queue_iter() local
361 to_copy = PAGE_SIZE - page_offset; in qp_memcpy_to_queue_iter()
363 to_copy = size - bytes_copied; in qp_memcpy_to_queue_iter()
365 if (!copy_from_iter_full((u8 *)va + page_offset, to_copy, in qp_memcpy_to_queue_iter()
371 bytes_copied += to_copy; in qp_memcpy_to_queue_iter()
398 size_t to_copy; in qp_memcpy_from_queue_iter() local
409 to_copy = PAGE_SIZE - page_offset; in qp_memcpy_from_queue_iter()
411 to_copy = size - bytes_copied; in qp_memcpy_from_queue_iter()
413 err = copy_to_iter((u8 *)va + page_offset, to_copy, to); in qp_memcpy_from_queue_iter()
414 if (err != to_copy) { in qp_memcpy_from_queue_iter()
419 bytes_copied += to_copy; in qp_memcpy_from_queue_iter()