Lines Matching defs:ubi
20 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn() local
54 static void return_unused_pool_pebs(struct ubi_device *ubi, in return_unused_pool_pebs()
88 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb()
117 void ubi_refill_pools(struct ubi_device *ubi) in ubi_refill_pools()
181 static int produce_free_peb(struct ubi_device *ubi) in produce_free_peb()
204 int ubi_wl_get_peb(struct ubi_device *ubi) in ubi_wl_get_peb()
258 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi) in get_peb_for_wl()
289 int ubi_ensure_anchor_pebs(struct ubi_device *ubi) in ubi_ensure_anchor_pebs()
325 int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e, in ubi_wl_put_fm_peb()
364 static void ubi_fastmap_close(struct ubi_device *ubi) in ubi_fastmap_close()
386 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm()