Home
last modified time | relevance | path

Searched refs:fmpl (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/mtd/ubi/
Dfastmap.c564 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_attach_fastmap() local
594 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
595 fm_pos += sizeof(*fmpl); in ubi_attach_fastmap()
598 if (be32_to_cpu(fmpl->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()
600 be32_to_cpu(fmpl->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
614 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap()
616 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
764 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1137 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_write_fastmap() local
1199 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
[all …]