Home
last modified time | relevance | path

Searched refs:wl_pool (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap-wl.c119 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools() local
126 return_unused_pool_pebs(ubi, wl_pool); in ubi_refill_pools()
129 wl_pool->size = 0; in ubi_refill_pools()
147 if (wl_pool->size < wl_pool->max_size) { in ubi_refill_pools()
157 wl_pool->pebs[wl_pool->size] = e->pnum; in ubi_refill_pools()
158 wl_pool->size++; in ubi_refill_pools()
166 wl_pool->used = 0; in ubi_refill_pools()
208 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_wl_get_peb() local
216 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb()
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap-wl.c133 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools() local
140 return_unused_pool_pebs(ubi, wl_pool); in ubi_refill_pools()
143 wl_pool->size = 0; in ubi_refill_pools()
174 if (wl_pool->size < wl_pool->max_size) { in ubi_refill_pools()
183 wl_pool->pebs[wl_pool->size] = e->pnum; in ubi_refill_pools()
184 wl_pool->size++; in ubi_refill_pools()
192 wl_pool->used = 0; in ubi_refill_pools()
234 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_wl_get_peb() local
242 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb()