Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/ubi/
Dfastmap-wl.c121 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools()
186 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_wl_get_peb()
233 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in get_peb_for_wl()
336 return_unused_pool_pebs(ubi, &ubi->fm_wl_pool); in ubi_fastmap_close()
Dfastmap.c1048 ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; in ubi_scan_fastmap()
1052 ubi->fm_wl_pool.max_size); in ubi_scan_fastmap()
1159 fmpl2->size = cpu_to_be16(ubi->fm_wl_pool.size); in ubi_write_fastmap()
1160 fmpl2->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); in ubi_write_fastmap()
1162 for (i = 0; i < ubi->fm_wl_pool.size; i++) { in ubi_write_fastmap()
1163 fmpl2->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1164 set_seen(ubi, ubi->fm_wl_pool.pebs[i], seen_pebs); in ubi_write_fastmap()
Dbuild.c942 ubi->fm_wl_pool.used = ubi->fm_wl_pool.size = 0; in ubi_attach_mtd_dev()
953 ubi->fm_wl_pool.max_size = ubi->fm_pool.max_size / 2; in ubi_attach_mtd_dev()
967 ubi->fm_wl_pool.max_size); in ubi_attach_mtd_dev()
Dubi.h567 struct ubi_fm_pool fm_wl_pool; member