Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dfastmap.c614 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_attach_fastmap() local
644 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
645 fm_pos += sizeof(*fmpl); in ubi_attach_fastmap()
648 if (be32_to_cpu(fmpl->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()
650 be32_to_cpu(fmpl->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
664 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap()
666 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
814 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1109 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_write_fastmap() local
1167 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dfastmap.c557 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_attach_fastmap() local
587 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
588 fm_pos += sizeof(*fmpl); in ubi_attach_fastmap()
591 if (be32_to_cpu(fmpl->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()
593 be32_to_cpu(fmpl->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
607 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap()
609 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
765 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1138 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_write_fastmap() local
1200 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
[all …]