Lines Matching refs:fmec
565 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
645 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
646 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
650 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
651 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
656 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
657 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
661 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
662 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
667 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
668 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
672 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
673 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
678 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
679 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
683 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
684 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()