Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/ubi/
Dfastmap-wl.c120 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_refill_pools()
207 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_wl_get_peb()
368 return_unused_pool_pebs(ubi, &ubi->fm_pool); in ubi_fastmap_close()
Dbuild.c951 ubi->fm_pool.used = ubi->fm_pool.size = 0; in ubi_attach_mtd_dev()
958 ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size, in ubi_attach_mtd_dev()
960 ubi->fm_pool.max_size = max(ubi->fm_pool.max_size, in ubi_attach_mtd_dev()
963 ubi->fm_wl_pool.max_size = ubi->fm_pool.max_size / 2; in ubi_attach_mtd_dev()
975 ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_attach_mtd_dev()
Dfastmap.c1069 ubi->fm_pool.max_size = ubi->fm->max_pool_size; in ubi_scan_fastmap()
1072 ubi_msg(ubi, "fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap()
1169 fmpl->size = cpu_to_be16(ubi->fm_pool.size); in ubi_write_fastmap()
1170 fmpl->max_size = cpu_to_be16(ubi->fm_pool.max_size); in ubi_write_fastmap()
1172 for (i = 0; i < ubi->fm_pool.size; i++) { in ubi_write_fastmap()
1173 fmpl->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap()
1174 set_seen(ubi, ubi->fm_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
Dubi.h565 struct ubi_fm_pool fm_pool; member
/external/u-boot/drivers/mtd/ubispl/
Dubispl.h101 struct ubi_fm_pool fm_pool; member
Dubispl.c646 ubi->fm_pool.max_size = ubi->fm->max_pool_size; in ubi_scan_fastmap()
650 ubi_dbg("fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap()