Lines Matching refs:fmec
607 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
687 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
688 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
692 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
693 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
698 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
699 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
703 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
704 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
709 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
710 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
714 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
715 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
720 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
721 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
725 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
726 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()