Lines Matching defs:to_copy
768 size_t to_copy = MIN(iov->iov_len, len);
769 memcpy(iov->iov_base, src, to_copy);
770 src += to_copy;
771 len -= to_copy;
773 to_copy);
774 iov->iov_len -= to_copy;
786 size_t to_copy = MIN(iov->iov_len, len);
787 memcpy(dst, iov->iov_base, to_copy);
788 dst += to_copy;
789 len -= to_copy;
791 to_copy);
792 iov->iov_len -= to_copy;
829 size_t to_copy;
839 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied);
846 iov, to_copy);
849 (uint8_t *)src + bytes_copied, to_copy);
850 bytes_copied += to_copy;
886 size_t to_copy;
896 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied);
903 page_offset, to_copy);
906 (uint8_t *)va + page_offset, to_copy);
908 bytes_copied += to_copy;