Lines Matching refs:fmec
556 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
636 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
637 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
641 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
642 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
647 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
648 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
652 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
653 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
658 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
659 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
663 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
664 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
669 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
670 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
674 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
675 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()