Lines Matching refs:file_offset
1160 loff_t file_offset, file_offset_tmp;
1183 file_offset = ((loff_t) lba) << curlun->blkbits;
1199 curlun->file_length - file_offset);
1214 curlun->sense_data_info = file_offset >> curlun->blkbits;
1222 file_offset_tmp = file_offset;
1227 (unsigned long long) file_offset,
1241 file_offset += nread;
1255 curlun->sense_data_info = file_offset >> curlun->blkbits;
1283 loff_t usb_offset, file_offset, file_offset_tmp;
1325 file_offset = usb_offset = ((loff_t) lba) << curlun->blkbits;
1380 curlun->sense_data_info = file_offset >> curlun->blkbits;
1386 if (curlun->file_length - file_offset < amount) {
1389 amount, (unsigned long long) file_offset,
1391 amount = curlun->file_length - file_offset;
1405 file_offset_tmp = file_offset;
1410 (unsigned long long) file_offset,
1424 file_offset += nwritten;
1431 curlun->sense_data_info = file_offset >> curlun->blkbits;
1489 loff_t file_offset, file_offset_tmp;
1515 file_offset = ((loff_t) lba) << curlun->blkbits;
1536 curlun->file_length - file_offset);
1540 curlun->sense_data_info = file_offset >> curlun->blkbits;
1546 file_offset_tmp = file_offset;
1551 (unsigned long long) file_offset,
1567 curlun->sense_data_info = file_offset >> curlun->blkbits;
1571 file_offset += nread;