Lines Matching defs:bytes_copied
778 size_t bytes_copied = 0;
780 while (bytes_copied < size) {
782 (queue_offset + bytes_copied) / PAGE_SIZE;
784 (queue_offset + bytes_copied) & (PAGE_SIZE - 1);
796 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied);
801 /* The iovec will track bytes_copied internally. */
806 (uint8_t *)src + bytes_copied, to_copy);
807 bytes_copied += to_copy;
835 size_t bytes_copied = 0;
837 while (bytes_copied < size) {
839 (queue_offset + bytes_copied) / PAGE_SIZE;
841 (queue_offset + bytes_copied) & (PAGE_SIZE - 1);
853 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied);
862 memcpy((uint8_t *)dest + bytes_copied,
865 bytes_copied += to_copy;