Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dfastmap-wl.c121 if (ubi->fm_wl_pool.size > 0 && !(ubi->ro_mode || ubi->fm_disabled)) in has_enough_free_count()
133 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools()
232 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_wl_get_peb()
284 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in get_peb_for_wl()
405 return_unused_pool_pebs(ubi, &ubi->fm_wl_pool); in ubi_fastmap_close()
H A Dfastmap.c1079 ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; in ubi_scan_fastmap()
1083 ubi->fm_wl_pool.max_size); in ubi_scan_fastmap()
1214 fmpl_wl->size = cpu_to_be16(ubi->fm_wl_pool.size); in ubi_write_fastmap()
1215 fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); in ubi_write_fastmap()
1217 for (i = 0; i < ubi->fm_wl_pool.size; i++) { in ubi_write_fastmap()
1218 fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1219 set_seen(ubi, ubi->fm_wl_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
H A Dbuild.c913 ubi->fm_wl_pool.used = ubi->fm_wl_pool.size = 0; in ubi_attach_mtd_dev()
924 ubi->fm_wl_pool.max_size = ubi->fm_pool.max_size / 2; in ubi_attach_mtd_dev()
938 ubi->fm_wl_pool.max_size); in ubi_attach_mtd_dev()
H A Dubi.h596 struct ubi_fm_pool fm_wl_pool; member
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dfastmap-wl.c120 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools()
209 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_wl_get_peb()
261 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in get_peb_for_wl()
370 return_unused_pool_pebs(ubi, &ubi->fm_wl_pool); in ubi_fastmap_close()
H A Dfastmap.c1071 ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; in ubi_scan_fastmap()
1075 ubi->fm_wl_pool.max_size); in ubi_scan_fastmap()
1181 fmpl_wl->size = cpu_to_be16(ubi->fm_wl_pool.size); in ubi_write_fastmap()
1182 fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); in ubi_write_fastmap()
1184 for (i = 0; i < ubi->fm_wl_pool.size; i++) { in ubi_write_fastmap()
1185 fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1186 set_seen(ubi, ubi->fm_wl_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
H A Dbuild.c953 ubi->fm_wl_pool.used = ubi->fm_wl_pool.size = 0; in ubi_attach_mtd_dev()
964 ubi->fm_wl_pool.max_size = ubi->fm_pool.max_size / 2; in ubi_attach_mtd_dev()
978 ubi->fm_wl_pool.max_size); in ubi_attach_mtd_dev()
H A Dubi.h567 struct ubi_fm_pool fm_wl_pool; member
/OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/
H A Dubispl.h103 struct ubi_fm_pool fm_wl_pool; member
H A Dubispl.c648 ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; in ubi_scan_fastmap()
652 ubi_dbg("fastmap WL pool size: %d", ubi->fm_wl_pool.max_size); in ubi_scan_fastmap()