Lines Matching refs:fmec
615 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local
695 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
696 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
700 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
701 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
706 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
707 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
711 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
712 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap()
717 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
718 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
722 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
723 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()
728 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
729 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
733 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap()
734 be32_to_cpu(fmec->ec), 1); in ubi_attach_fastmap()