Searched refs:fmsb (Results 1 – 1 of 1) sorted by relevance
554 struct ubi_fm_sb *fmsb; in ubi_attach_fastmap() local569 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()570 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()862 struct ubi_fm_sb *fmsb, *fmsb2; in ubi_scan_fastmap() local891 fmsb = kmalloc(sizeof(*fmsb), GFP_KERNEL); in ubi_scan_fastmap()892 if (!fmsb) { in ubi_scan_fastmap()900 kfree(fmsb); in ubi_scan_fastmap()904 ret = ubi_io_read_data(ubi, fmsb, fm_anchor, 0, sizeof(*fmsb)); in ubi_scan_fastmap()910 if (be32_to_cpu(fmsb->magic) != UBI_FM_SB_MAGIC) { in ubi_scan_fastmap()912 be32_to_cpu(fmsb->magic), UBI_FM_SB_MAGIC); in ubi_scan_fastmap()[all …]