Lines Matching refs:XferInfo
125 } *XferInfo; member
210 part->XferInfo = in build_maps()
214 if (!part->XferInfo) in build_maps()
243 part->XferInfo[xtrans].state = XFER_PREPARED; in build_maps()
244 part->XferInfo[xtrans].EraseCount = le32_to_cpu(header.EraseCount); in build_maps()
246 part->XferInfo[xtrans].state = XFER_UNKNOWN; in build_maps()
248 part->XferInfo[xtrans].EraseCount = in build_maps()
251 part->XferInfo[xtrans].Offset = offset; in build_maps()
314 kfree(part->XferInfo); in build_maps()
335 xfer = &part->XferInfo[xfernum]; in erase_xfer()
379 xfer = &part->XferInfo[i]; in prepare_xfer()
442 xfer = &part->XferInfo[xferunit]; in copy_erase_unit()
582 if (part->XferInfo[i].state == XFER_UNKNOWN) { in reclaim_block()
587 if (part->XferInfo[i].state == XFER_ERASING) { in reclaim_block()
592 else if (part->XferInfo[i].state == XFER_ERASED) { in reclaim_block()
597 if (part->XferInfo[i].state == XFER_PREPARED) { in reclaim_block()
600 if (part->XferInfo[i].EraseCount <= best) { in reclaim_block()
601 best = part->XferInfo[i].EraseCount; in reclaim_block()
606 pr_debug("XferInfo[%d].state == %x\n",i, part->XferInfo[i].state); in reclaim_block()
1000 kfree(part->XferInfo); in ftl_freepart()
1001 part->XferInfo = NULL; in ftl_freepart()