Lines Matching defs:bytes_copied
821 size_t bytes_copied = 0;
823 while (bytes_copied < size) {
825 (queue_offset + bytes_copied) / PAGE_SIZE;
827 (queue_offset + bytes_copied) & (PAGE_SIZE - 1);
839 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied);
844 /* The iovec will track bytes_copied internally. */
849 (uint8_t *)src + bytes_copied, to_copy);
850 bytes_copied += to_copy;
878 size_t bytes_copied = 0;
880 while (bytes_copied < size) {
882 (queue_offset + bytes_copied) / PAGE_SIZE;
884 (queue_offset + bytes_copied) & (PAGE_SIZE - 1);
896 to_copy = MIN(PAGE_SIZE - page_offset, size - bytes_copied);
905 memcpy((uint8_t *)dest + bytes_copied,
908 bytes_copied += to_copy;