Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/storage/
Dalauda.c566 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()
[all …]