Searched refs:blkbits (Results 1 – 3 of 3) sorted by relevance
207 unsigned int blkbits; /* Bits of logical block size of bound block device */ member684 curlun->blkbits = 11; in fsg_lun_open()687 curlun->blkbits = blksize_bits(curlun->blksize); in fsg_lun_open()690 curlun->blkbits = 9; in fsg_lun_open()693 num_sectors = size >> curlun->blkbits; /* File size in logic-block-size blocks */ in fsg_lun_open()
775 file_offset = ((loff_t) lba) << curlun->blkbits; in do_read()809 file_offset >> curlun->blkbits; in do_read()850 file_offset >> curlun->blkbits; in do_read()924 file_offset = usb_offset = ((loff_t) lba) << curlun->blkbits; in do_write()947 usb_offset >> curlun->blkbits; in do_write()985 file_offset >> curlun->blkbits; in do_write()1036 file_offset >> curlun->blkbits; in do_write()1123 amount_left = verification_length << curlun->blkbits; in do_verify()1124 file_offset = ((loff_t) lba) << curlun->blkbits; in do_verify()1150 file_offset >> curlun->blkbits; in do_verify()[all …]
1183 file_offset = ((loff_t) lba) << curlun->blkbits; in do_read()1214 curlun->sense_data_info = file_offset >> curlun->blkbits; in do_read()1255 curlun->sense_data_info = file_offset >> curlun->blkbits; in do_read()1325 file_offset = usb_offset = ((loff_t) lba) << curlun->blkbits; in do_write()1345 curlun->sense_data_info = usb_offset >> curlun->blkbits; in do_write()1380 curlun->sense_data_info = file_offset >> curlun->blkbits; in do_write()1431 curlun->sense_data_info = file_offset >> curlun->blkbits; in do_write()1514 amount_left = verification_length << curlun->blkbits; in do_verify()1515 file_offset = ((loff_t) lba) << curlun->blkbits; in do_verify()1540 curlun->sense_data_info = file_offset >> curlun->blkbits; in do_verify()[all …]