Lines Matching refs:bytes_to_copy
560 int offset, bytes_to_copy;
572 bytes_to_copy = offset;
573 if (bytes_to_copy > len)
574 bytes_to_copy = len;
576 offset -= bytes_to_copy;
577 pos -= bytes_to_copy;
578 str -= bytes_to_copy;
579 len -= bytes_to_copy;
600 if (copy_from_user(kaddr+offset, str, bytes_to_copy)) {
636 unsigned int bytes_to_copy = min_t(unsigned int, len,
640 pos -= bytes_to_copy;
641 arg -= bytes_to_copy;
642 len -= bytes_to_copy;
648 memcpy_to_page(page, offset_in_page(pos), arg, bytes_to_copy);