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