Lines Matching defs:ubi
14 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn() local
42 static inline void return_unused_peb(struct ubi_device *ubi, in return_unused_peb()
54 static void return_unused_pool_pebs(struct ubi_device *ubi, in return_unused_pool_pebs()
75 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb()
112 static bool has_enough_free_count(struct ubi_device *ubi, bool is_wl_pool) in has_enough_free_count()
131 void ubi_refill_pools(struct ubi_device *ubi) in ubi_refill_pools()
205 static int produce_free_peb(struct ubi_device *ubi) in produce_free_peb()
228 int ubi_wl_get_peb(struct ubi_device *ubi) in ubi_wl_get_peb()
284 static struct ubi_wl_entry *next_peb_for_wl(struct ubi_device *ubi) in next_peb_for_wl()
304 static bool need_wear_leveling(struct ubi_device *ubi) in need_wear_leveling()
334 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi) in get_peb_for_wl()
360 int ubi_ensure_anchor_pebs(struct ubi_device *ubi) in ubi_ensure_anchor_pebs()
413 int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e, in ubi_wl_put_fm_peb()
452 static void ubi_fastmap_close(struct ubi_device *ubi) in ubi_fastmap_close()
479 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm()