Lines Matching refs:lba
766 u32 lba; in do_read() local
778 lba = (fsg->cmnd[1] << 16) | get_be16(&fsg->cmnd[2]); in do_read()
780 lba = get_be32(&fsg->cmnd[2]); in do_read()
790 if (lba >= curlun->num_sectors) { in do_read()
794 file_offset = ((loff_t) lba) << 9; in do_read()
892 u32 lba; in do_write() local
911 lba = (fsg->cmnd[1] << 16) | get_be16(&fsg->cmnd[2]); in do_write()
913 lba = get_be32(&fsg->cmnd[2]); in do_write()
926 if (lba >= curlun->num_sectors) { in do_write()
933 file_offset = usb_offset = ((loff_t) lba) << 9; in do_write()
1137 u32 lba; in do_verify() local
1147 lba = get_be32(&fsg->cmnd[2]); in do_verify()
1148 if (lba >= curlun->num_sectors) { in do_verify()
1166 file_offset = ((loff_t) lba) << 9; in do_verify()
1314 u32 lba = get_be32(&fsg->cmnd[2]); in do_read_capacity() local
1319 if (pmi > 1 || (pmi == 0 && lba != 0)) { in do_read_capacity()