Lines Matching refs:actually_read
4847 ssize_t bytes_read,temp, actually_read = 0, rc; in idetape_chrdev_read() local
4876 actually_read = IDE_MIN(tape->merge_stage_size, count); in idetape_chrdev_read()
4877 idetape_copy_stage_to_user(tape, buf, tape->merge_stage, actually_read); in idetape_chrdev_read()
4878 buf += actually_read; in idetape_chrdev_read()
4879 tape->merge_stage_size -= actually_read; in idetape_chrdev_read()
4880 count -= actually_read; in idetape_chrdev_read()
4889 actually_read += bytes_read; in idetape_chrdev_read()
4897 actually_read += temp; in idetape_chrdev_read()
4901 if (!actually_read && test_bit(IDETAPE_FILEMARK, &tape->flags)) { in idetape_chrdev_read()
4910 if (tape->onstream && !actually_read && in idetape_chrdev_read()
4918 return actually_read; in idetape_chrdev_read()