Lines Matching refs:fmec
605 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
685 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
686 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
690 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
691 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
696 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
697 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
701 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
702 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
707 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
708 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
712 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
713 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
718 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
719 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
723 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
724 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()