Lines Matching refs:to_copy
345 size_t to_copy; in qp_memcpy_to_queue_iter() local
355 to_copy = PAGE_SIZE - page_offset; in qp_memcpy_to_queue_iter()
357 to_copy = size - bytes_copied; in qp_memcpy_to_queue_iter()
359 if (!copy_from_iter_full((u8 *)va + page_offset, to_copy, in qp_memcpy_to_queue_iter()
365 bytes_copied += to_copy; in qp_memcpy_to_queue_iter()
392 size_t to_copy; in qp_memcpy_from_queue_iter() local
403 to_copy = PAGE_SIZE - page_offset; in qp_memcpy_from_queue_iter()
405 to_copy = size - bytes_copied; in qp_memcpy_from_queue_iter()
407 err = copy_to_iter((u8 *)va + page_offset, to_copy, to); in qp_memcpy_from_queue_iter()
408 if (err != to_copy) { in qp_memcpy_from_queue_iter()
413 bytes_copied += to_copy; in qp_memcpy_from_queue_iter()