Searched refs:wl_pool (Results 1 – 1 of 1) sorted by relevance
133 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools() local140 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() local242 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb()