Lines Matching refs:ubi_work
193 struct ubi_work *wrk; in do_work()
215 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
554 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work()
573 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work()
580 static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk,
598 struct ubi_work *wl_wrk; in schedule_erase()
605 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in schedule_erase()
622 static int __erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk);
635 struct ubi_work wl_wrk; in do_sync_erase()
659 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk,
1025 struct ubi_work *wrk;
1067 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS);
1098 static int __erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk)
1228 static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk,
1442 struct ubi_work *wrk, *tmp;
1734 struct ubi_work *wrk;
1736 wrk = list_entry(ubi->works.next, struct ubi_work, list);