fmsb 553 drivers/mtd/ubi/fastmap.c struct ubi_fm_sb *fmsb; fmsb 568 drivers/mtd/ubi/fastmap.c fmsb = (struct ubi_fm_sb *)(fm_raw); fmsb 569 drivers/mtd/ubi/fastmap.c ai->max_sqnum = fmsb->sqnum; fmsb 853 drivers/mtd/ubi/fastmap.c struct ubi_fm_sb *fmsb, *fmsb2; fmsb 882 drivers/mtd/ubi/fastmap.c fmsb = kmalloc(sizeof(*fmsb), GFP_KERNEL); fmsb 883 drivers/mtd/ubi/fastmap.c if (!fmsb) { fmsb 891 drivers/mtd/ubi/fastmap.c kfree(fmsb); fmsb 895 drivers/mtd/ubi/fastmap.c ret = ubi_io_read_data(ubi, fmsb, fm_anchor, 0, sizeof(*fmsb)); fmsb 901 drivers/mtd/ubi/fastmap.c if (be32_to_cpu(fmsb->magic) != UBI_FM_SB_MAGIC) { fmsb 903 drivers/mtd/ubi/fastmap.c be32_to_cpu(fmsb->magic), UBI_FM_SB_MAGIC); fmsb 908 drivers/mtd/ubi/fastmap.c if (fmsb->version != UBI_FM_FMT_VERSION) { fmsb 910 drivers/mtd/ubi/fastmap.c fmsb->version, UBI_FM_FMT_VERSION); fmsb 915 drivers/mtd/ubi/fastmap.c used_blocks = be32_to_cpu(fmsb->used_blocks); fmsb 948 drivers/mtd/ubi/fastmap.c pnum = be32_to_cpu(fmsb->block_loc[i]); fmsb 1024 drivers/mtd/ubi/fastmap.c kfree(fmsb); fmsb 1025 drivers/mtd/ubi/fastmap.c fmsb = NULL; fmsb 1089 drivers/mtd/ubi/fastmap.c kfree(fmsb); fmsb 1126 drivers/mtd/ubi/fastmap.c struct ubi_fm_sb *fmsb; fmsb 1169 drivers/mtd/ubi/fastmap.c fmsb = (struct ubi_fm_sb *)fm_raw; fmsb 1170 drivers/mtd/ubi/fastmap.c fm_pos += sizeof(*fmsb); fmsb 1177 drivers/mtd/ubi/fastmap.c fmsb->magic = cpu_to_be32(UBI_FM_SB_MAGIC); fmsb 1178 drivers/mtd/ubi/fastmap.c fmsb->version = UBI_FM_FMT_VERSION; fmsb 1179 drivers/mtd/ubi/fastmap.c fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); fmsb 1181 drivers/mtd/ubi/fastmap.c fmsb->sqnum = 0; fmsb 1335 drivers/mtd/ubi/fastmap.c fmsb->block_loc[i] = cpu_to_be32(new_fm->e[i]->pnum); fmsb 1337 drivers/mtd/ubi/fastmap.c fmsb->block_ec[i] = cpu_to_be32(new_fm->e[i]->ec); fmsb 1340 drivers/mtd/ubi/fastmap.c fmsb->data_crc = 0; fmsb 1341 drivers/mtd/ubi/fastmap.c fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw,