Lines Matching defs:pba
198 unsigned int pba;
223 pba = info->lba_to_pba[lba];
232 pages, pba, lba, page);
234 if (pba == NOT_ALLOCATED) {
235 /* no pba for this lba, fill with zeroes */
239 address = (pba << info->blockshift) + page;
317 unsigned int pba;
350 pba = info->lba_to_pba[lba];
363 pages, pba, lba, page);
367 if (pba == NOT_ALLOCATED) {
368 /* no pba allocated for this lba, find a free pba to use */
374 /* set pba to first block in zone lba is in */
375 pba = (lba / 1000) * 1024;
388 for (i = 0; i < max_pba; i++, pba++) {
389 if (info->pba_to_lba[pba] == UNUSED_BLOCK) {
390 found_pba = pba;
396 pba = found_pba;
398 if (pba == -1) {
408 pba, lba);
414 address = (pba << info->blockshift) + page;
482 lba, pba, new_pba);
484 /* update the lba<->pba maps, note new_pba might be the same as pba */
486 info->pba_to_lba[pba] = UNUSED_BLOCK;
498 /* update the pba<->lba maps for new_pba */
790 unsigned int pba;
949 pba = info->lba_to_pba[lba];
953 pba, lba, page, pages);
958 pba, lba, page, pages);