Lines Matching refs:Offset
116 uint32_t Offset; member
122 uint32_t Offset; member
209 part->EUNInfo[i].Offset = 0xffffffff; in build_maps()
231 (part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset == 0xffffffff)) { in build_maps()
232 part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset = offset; in build_maps()
251 part->XferInfo[xtrans].Offset = offset; in build_maps()
284 offset = part->EUNInfo[i].Offset + le32_to_cpu(header.BAMOffset); in build_maps()
336 pr_debug("ftl_cs: erasing xfer unit at 0x%x\n", xfer->Offset); in erase_xfer()
346 erase->addr = xfer->Offset; in erase_xfer()
382 pr_debug("ftl_cs: preparing xfer unit at 0x%x\n", xfer->Offset); in prepare_xfer()
389 ret = mtd_write(part->mbd.mtd, xfer->Offset, sizeof(header), &retlen, in prepare_xfer()
400 offset = xfer->Offset + le32_to_cpu(part->header.BAMOffset); in prepare_xfer()
444 eun->Offset, xfer->Offset); in copy_erase_unit()
450 offset = eun->Offset + le32_to_cpu(part->header.BAMOffset); in copy_erase_unit()
467 offset = xfer->Offset + 20; /* Bad! */ in copy_erase_unit()
479 src = eun->Offset; dest = xfer->Offset; in copy_erase_unit()
518 xfer->Offset + le32_to_cpu(part->header.BAMOffset), in copy_erase_unit()
529 ret = mtd_write(part->mbd.mtd, xfer->Offset + 20, sizeof(uint16_t), in copy_erase_unit()
540 swap(xfer->Offset, eun->Offset); in copy_erase_unit()
682 part->EUNInfo[i].Offset >> part->header.EraseUnitSize, in dump_lists()
712 part->EUNInfo[eun].Offset + le32_to_cpu(part->header.BAMOffset), in find_free()
773 offset = (part->EUNInfo[log_addr / bsize].Offset in ftl_read()
810 offset = (part->EUNInfo[eun].Offset + blk * sizeof(uint32_t) + in set_bam_entry()
909 offset = (part->EUNInfo[part->bam_index].Offset + in ftl_write()