Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/ubi/
Dfastmap.c606 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_attach_fastmap() local
646 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
647 fm_pos += sizeof(*fmpl_wl); in ubi_attach_fastmap()
650 if (be32_to_cpu(fmpl_wl->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()
652 be32_to_cpu(fmpl_wl->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
657 wl_pool_size = be16_to_cpu(fmpl_wl->size); in ubi_attach_fastmap()
659 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
810 ret = scan_pool(ubi, ai, fmpl_wl->pebs, wl_pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1094 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_write_fastmap() local
1163 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
[all …]