Lines Matching refs:XferInfo
172 } *XferInfo; member
319 part->XferInfo = in build_maps()
322 if (!part->XferInfo) in build_maps()
351 part->XferInfo[xtrans].state = XFER_PREPARED; in build_maps()
352 part->XferInfo[xtrans].EraseCount = le32_to_cpu(header.EraseCount); in build_maps()
354 part->XferInfo[xtrans].state = XFER_UNKNOWN; in build_maps()
356 part->XferInfo[xtrans].EraseCount = in build_maps()
359 part->XferInfo[xtrans].Offset = offset; in build_maps()
422 kfree(part->XferInfo); in build_maps()
443 xfer = &part->XferInfo[xfernum]; in erase_xfer()
486 if (part->XferInfo[i].Offset == erase->addr) break; in ftl_erase_callback()
494 xfer = &part->XferInfo[i]; in ftl_erase_callback()
516 xfer = &part->XferInfo[i]; in prepare_xfer()
579 xfer = &part->XferInfo[xferunit]; in copy_erase_unit()
721 if (part->XferInfo[i].state == XFER_UNKNOWN) { in reclaim_block()
726 if (part->XferInfo[i].state == XFER_ERASING) { in reclaim_block()
731 else if (part->XferInfo[i].state == XFER_ERASED) { in reclaim_block()
736 if (part->XferInfo[i].state == XFER_PREPARED) { in reclaim_block()
739 if (part->XferInfo[i].EraseCount <= best) { in reclaim_block()
740 best = part->XferInfo[i].EraseCount; in reclaim_block()
745 DEBUG(3,"XferInfo[%d].state == %x\n",i, part->XferInfo[i].state); in reclaim_block()
941 if (part->XferInfo[i].state == XFER_ERASED) in ftl_close()
1329 if (part->XferInfo) { in ftl_freepart()
1330 kfree(part->XferInfo); in ftl_freepart()
1331 part->XferInfo = NULL; in ftl_freepart()