Searched refs:fmpl1 (Results 1 – 1 of 1) sorted by relevance
286 struct ubi_fm_scan_pool *fmpl1, *fmpl2; in ubi_attach_fastmap() local311 fmpl1 = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()312 fm_pos += sizeof(*fmpl1); in ubi_attach_fastmap()315 if (be32_to_cpu(fmpl1->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()317 be32_to_cpu(fmpl1->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()331 pool_size = be16_to_cpu(fmpl1->size); in ubi_attach_fastmap()333 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap()463 ret = scan_pool(ubi, fmpl1->pebs, pool_size); in ubi_attach_fastmap()