Home
last modified time | relevance | path

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

/drivers/mtd/ubi/
Dbuild.c937 ubi->fm_pool.used = ubi->fm_pool.size = 0; in ubi_attach_mtd_dev()
944 ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size, in ubi_attach_mtd_dev()
946 if (ubi->fm_pool.max_size < UBI_FM_MIN_POOL_SIZE) in ubi_attach_mtd_dev()
947 ubi->fm_pool.max_size = UBI_FM_MIN_POOL_SIZE; in ubi_attach_mtd_dev()
959 ubi_msg("default fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_attach_mtd_dev()
Dfastmap.c1031 ubi->fm_pool.max_size = ubi->fm->max_pool_size; in ubi_scan_fastmap()
1034 ubi_msg("fastmap pool size: %d", ubi->fm_pool.max_size); in ubi_scan_fastmap()
1123 fmpl1->size = cpu_to_be16(ubi->fm_pool.size); in ubi_write_fastmap()
1124 fmpl1->max_size = cpu_to_be16(ubi->fm_pool.max_size); in ubi_write_fastmap()
1126 for (i = 0; i < ubi->fm_pool.size; i++) in ubi_write_fastmap()
1127 fmpl1->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap()
Dubi.h528 struct ubi_fm_pool fm_pool; member
Dwl.c597 struct ubi_fm_pool *pool = &ubi->fm_pool; in refill_wl_user_pool()
631 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_wl_get_peb()