Lines Matching refs:fmec
614 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
694 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
695 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
699 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
700 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
705 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
706 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
710 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
711 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
716 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
717 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
721 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
722 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
727 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
728 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
732 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
733 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()