Lines Matching refs:lba_offset
566 unsigned int lba_offset, lba_real, blocknum; in alauda_read_map() local
634 lba_offset = short_pack(data[7], data[6]); in alauda_read_map()
635 lba_offset = (lba_offset & 0x07FF) >> 1; in alauda_read_map()
636 lba_real = lba_offset + zone_base_lba; in alauda_read_map()
647 if (lba_offset >= uzonesize) { in alauda_read_map()
654 if (lba_to_pba[lba_offset] != UNDEF) { in alauda_read_map()
658 lba_real, lba_to_pba[lba_offset], blocknum); in alauda_read_map()
663 lba_to_pba[lba_offset] = blocknum; in alauda_read_map()
813 unsigned int lba_offset = lba % uzonesize; in alauda_write_lba() local
819 pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset]; in alauda_write_lba()
847 lbap = (lba_offset << 1) | 0x1000; in alauda_write_lba()
890 MEDIA_INFO(us).lba_to_pba[zone][lba_offset] = new_pba; in alauda_write_lba()
945 unsigned int lba_offset = lba - (zone * uzonesize); in alauda_read_data() local
963 pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset]; in alauda_read_data()