Lines Matching defs:bytes_to_write
563 size_t bytes_to_write;
625 bytes_to_write = count > buffer_size ? buffer_size : count;
626 dbg(4," %s : buffer_size = %Zd, count = %Zd, bytes_to_write = %Zd",
627 __func__, buffer_size, count, bytes_to_write);
629 if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write) != 0) {
640 bytes_to_write,
644 dev->interrupt_out_urb->actual_length = bytes_to_write;
654 buffer += bytes_to_write;
655 count -= bytes_to_write;
657 bytes_written += bytes_to_write;