Searched refs:wl_pool (Results 1 – 1 of 1) sorted by relevance
110 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in wait_free_pebs_for_pool() local126 free += pool->size - pool->used + wl_pool->size - wl_pool->used; in wait_free_pebs_for_pool()170 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in can_fill_pools() local173 wl_pool->max_size - wl_pool->size; in can_fill_pools()187 struct ubi_fm_pool *wl_pool = &ubi->fm_wl_pool; in ubi_refill_pools_and_lock() local201 return_unused_pool_pebs(ubi, wl_pool); in ubi_refill_pools_and_lock()204 wl_pool->size = 0; in ubi_refill_pools_and_lock()235 if (wl_pool->size < wl_pool->max_size) { in ubi_refill_pools_and_lock()247 wl_pool->pebs[wl_pool->size] = e->pnum; in ubi_refill_pools_and_lock()248 wl_pool->size++; in ubi_refill_pools_and_lock()[all …]