Home
last modified time | relevance | path

Searched refs:fmpl_wl (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
654 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
655 fm_pos += sizeof(*fmpl_wl); in ubi_attach_fastmap()
658 if (be32_to_cpu(fmpl_wl->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()
660 be32_to_cpu(fmpl_wl->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
665 wl_pool_size = be16_to_cpu(fmpl_wl->size); in ubi_attach_fastmap()
667 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
818 ret = scan_pool(ubi, ai, fmpl_wl->pebs, wl_pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1109 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_write_fastmap() local
1178 fmpl_wl = (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
597 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
598 fm_pos += sizeof(*fmpl_wl); in ubi_attach_fastmap()
601 if (be32_to_cpu(fmpl_wl->magic) != UBI_FM_POOL_MAGIC) { in ubi_attach_fastmap()
603 be32_to_cpu(fmpl_wl->magic), UBI_FM_POOL_MAGIC); in ubi_attach_fastmap()
608 wl_pool_size = be16_to_cpu(fmpl_wl->size); in ubi_attach_fastmap()
610 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
769 ret = scan_pool(ubi, ai, fmpl_wl->pebs, wl_pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
1138 struct ubi_fm_scan_pool *fmpl, *fmpl_wl; in ubi_write_fastmap() local
1211 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
[all …]