Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/usb/storage/
Dsddr55.c60 int *lba_to_pba; /* logical to physical map */ member
240 if (info->lba_to_pba) in sddr55_status()
241 kfree(info->lba_to_pba); in sddr55_status()
244 info->lba_to_pba = NULL; in sddr55_status()
326 pba = info->lba_to_pba[lba]; in sddr55_read_data()
481 pba = info->lba_to_pba[lba]; in sddr55_write_data()
617 info->lba_to_pba[lba] = new_pba; in sddr55_write_data()
817 if (info->lba_to_pba) in sddr55_read_map()
818 kfree(info->lba_to_pba); in sddr55_read_map()
821 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr55_read_map()
[all …]
Dsddr09.c869 pba = info->lba_to_pba[lba]; in sddr09_read_data()
957 pba = info->lba_to_pba[lba]; in sddr09_write_lba()
966 info->lba_to_pba[lba] = pba; in sddr09_write_lba()
1341 kfree(info->lba_to_pba); in sddr09_read_map()
1343 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map()
1346 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr09_read_map()
1347 kfree(info->lba_to_pba); in sddr09_read_map()
1349 info->lba_to_pba = NULL; in sddr09_read_map()
1358 info->lba_to_pba[i] = info->pba_to_lba[i] = UNDEF; in sddr09_read_map()
1373 info->lba_to_pba[lba] = i; in sddr09_read_map()
[all …]
Dsddr09.h41 int *lba_to_pba; /* logical to physical map */ member