Lines Matching refs:file_offset
613 loff_t file_offset, file_offset_tmp;
643 file_offset = ((loff_t) lba) << curlun->blkbits;
659 curlun->file_length - file_offset);
675 file_offset >> curlun->blkbits;
683 file_offset_tmp = file_offset;
687 (unsigned long long)file_offset, (int)nread);
699 file_offset += nread;
715 file_offset >> curlun->blkbits;
744 loff_t usb_offset, file_offset, file_offset_tmp;
792 file_offset = usb_offset = ((loff_t) lba) << curlun->blkbits;
857 file_offset >> curlun->blkbits;
863 if (curlun->file_length - file_offset < amount) {
865 amount, (unsigned long long)file_offset,
867 amount = curlun->file_length - file_offset;
882 file_offset_tmp = file_offset;
886 (unsigned long long)file_offset, (int)nwritten);
899 file_offset += nwritten;
907 file_offset >> curlun->blkbits;
958 loff_t file_offset, file_offset_tmp;
988 file_offset = ((loff_t) lba) << curlun->blkbits;
1009 curlun->file_length - file_offset);
1014 file_offset >> curlun->blkbits;
1020 file_offset_tmp = file_offset;
1024 (unsigned long long) file_offset,
1040 file_offset >> curlun->blkbits;
1044 file_offset += nread;