Searched refs:lba_offset (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/storage/
H A Dalauda.c574 unsigned int lba_offset, lba_real, blocknum; alauda_read_map() local
642 lba_offset = short_pack(data[7], data[6]); alauda_read_map()
643 lba_offset = (lba_offset & 0x07FF) >> 1; alauda_read_map()
644 lba_real = lba_offset + zone_base_lba; alauda_read_map()
655 if (lba_offset >= uzonesize) { alauda_read_map()
662 if (lba_to_pba[lba_offset] != UNDEF) { alauda_read_map()
666 lba_real, lba_to_pba[lba_offset], blocknum); alauda_read_map()
671 lba_to_pba[lba_offset] = blocknum; alauda_read_map()
821 unsigned int lba_offset = lba % uzonesize; alauda_write_lba() local
827 pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset]; alauda_write_lba()
853 lbap = (lba_offset << 1) | 0x1000; alauda_write_lba()
896 MEDIA_INFO(us).lba_to_pba[zone][lba_offset] = new_pba; alauda_write_lba()
953 unsigned int lba_offset = lba - (zone * uzonesize); alauda_read_data() local
971 pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset]; alauda_read_data()

Completed in 51 milliseconds