Lines Matching refs:bytes_copied
337 size_t bytes_copied = 0;
339 while (bytes_copied < size) {
341 (queue_offset + bytes_copied) / PAGE_SIZE;
343 (queue_offset + bytes_copied) & (PAGE_SIZE - 1);
353 if (size - bytes_copied > PAGE_SIZE - page_offset)
357 to_copy = size - bytes_copied;
365 bytes_copied += to_copy;
384 size_t bytes_copied = 0;
386 while (bytes_copied < size) {
388 (queue_offset + bytes_copied) / PAGE_SIZE;
390 (queue_offset + bytes_copied) & (PAGE_SIZE - 1);
401 if (size - bytes_copied > PAGE_SIZE - page_offset)
405 to_copy = size - bytes_copied;
413 bytes_copied += to_copy;