Lines Matching defs:bytes_to_copy
555 int offset, bytes_to_copy;
567 bytes_to_copy = offset;
568 if (bytes_to_copy > len)
569 bytes_to_copy = len;
571 offset -= bytes_to_copy;
572 pos -= bytes_to_copy;
573 str -= bytes_to_copy;
574 len -= bytes_to_copy;
595 if (copy_from_user(kaddr+offset, str, bytes_to_copy)) {
631 unsigned int bytes_to_copy = min_t(unsigned int, len,
636 pos -= bytes_to_copy;
637 arg -= bytes_to_copy;
638 len -= bytes_to_copy;
645 memcpy(kaddr + offset_in_page(pos), arg, bytes_to_copy);