Searched refs:wl_pool (Results 1 – 1 of 1) sorted by relevance
121 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools() local128 return_unused_pool_pebs(ubi, wl_pool); in ubi_refill_pools()131 wl_pool->size = 0; in ubi_refill_pools()149 if (wl_pool->size < wl_pool->max_size) { in ubi_refill_pools()159 wl_pool->pebs[wl_pool->size] = e->pnum; in ubi_refill_pools()160 wl_pool->size++; in ubi_refill_pools()168 wl_pool->used = 0; in ubi_refill_pools()210 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_wl_get_peb() local218 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb()