Lines Matching defs:ubi
180 static void wl_entry_destroy(struct ubi_device *ubi, struct ubi_wl_entry *e) in wl_entry_destroy()
193 static int do_work(struct ubi_device *ubi) in do_work()
282 static void prot_queue_add(struct ubi_device *ubi, struct ubi_wl_entry *e) in prot_queue_add()
302 static struct ubi_wl_entry *find_wl_entry(struct ubi_device *ubi, in find_wl_entry()
345 static struct ubi_wl_entry *find_mean_wl_entry(struct ubi_device *ubi, in find_mean_wl_entry()
374 static struct ubi_wl_entry *wl_get_wle(struct ubi_device *ubi) in wl_get_wle()
405 static int prot_queue_del(struct ubi_device *ubi, int pnum) in prot_queue_del()
430 static int sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, in sync_erase()
490 static void serve_prot_queue(struct ubi_device *ubi) in serve_prot_queue()
527 void ubi_do_worker(struct ubi_device *ubi) in ubi_do_worker()
561 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work()
582 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work()
603 static int schedule_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, in schedule_erase()
640 static int do_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, in do_sync_erase()
670 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk,
980 static int ensure_wear_leveling(struct ubi_device *ubi, int nested)
1060 static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk,
1198 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum,
1290 int ubi_wl_scrub_peb(struct ubi_device *ubi, int pnum)
1355 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum)
1411 static void tree_destroy(struct ubi_device *ubi, struct rb_root *root)
1445 struct ubi_device *ubi = u; local
1499 static void shutdown_work(struct ubi_device *ubi)
1527 int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai)
1665 static void protection_queue_destroy(struct ubi_device *ubi)
1682 void ubi_wl_close(struct ubi_device *ubi)
1705 static int self_check_ec(struct ubi_device *ubi, int pnum, int ec)
1748 static int self_check_in_wl_tree(const struct ubi_device *ubi,
1771 static int self_check_in_pq(const struct ubi_device *ubi,
1791 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi)
1813 static int produce_free_peb(struct ubi_device *ubi)
1839 int ubi_wl_get_peb(struct ubi_device *ubi)