Lines Matching refs:file_offset
611 loff_t file_offset, file_offset_tmp; in do_read() local
638 file_offset = ((loff_t) lba) << curlun->blkbits; in do_read()
654 curlun->file_length - file_offset); in do_read()
670 file_offset >> curlun->blkbits; in do_read()
678 file_offset_tmp = file_offset; in do_read()
682 (unsigned long long)file_offset, (int)nread); in do_read()
694 file_offset += nread; in do_read()
710 file_offset >> curlun->blkbits; in do_read()
739 loff_t usb_offset, file_offset, file_offset_tmp; in do_write() local
784 file_offset = usb_offset = ((loff_t) lba) << curlun->blkbits; in do_write()
849 file_offset >> curlun->blkbits; in do_write()
855 if (curlun->file_length - file_offset < amount) { in do_write()
857 amount, (unsigned long long)file_offset, in do_write()
859 amount = curlun->file_length - file_offset; in do_write()
874 file_offset_tmp = file_offset; in do_write()
878 (unsigned long long)file_offset, (int)nwritten); in do_write()
891 file_offset += nwritten; in do_write()
899 file_offset >> curlun->blkbits; in do_write()
950 loff_t file_offset, file_offset_tmp; in do_verify() local
980 file_offset = ((loff_t) lba) << curlun->blkbits; in do_verify()
1001 curlun->file_length - file_offset); in do_verify()
1006 file_offset >> curlun->blkbits; in do_verify()
1012 file_offset_tmp = file_offset; in do_verify()
1016 (unsigned long long) file_offset, in do_verify()
1032 file_offset >> curlun->blkbits; in do_verify()
1036 file_offset += nread; in do_verify()