Lines Matching refs:ubi_work
196 struct ubi_work *wrk; in do_work()
218 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
557 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work()
576 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work()
583 static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk,
601 struct ubi_work *wl_wrk; in schedule_erase()
608 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in schedule_erase()
625 static int __erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk);
638 struct ubi_work wl_wrk; in do_sync_erase()
662 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk,
1035 struct ubi_work *wrk;
1077 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS);
1108 static int __erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk)
1238 static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk,
1452 struct ubi_work *wrk, *tmp;
1744 struct ubi_work *wrk;
1746 wrk = list_entry(ubi->works.next, struct ubi_work, list);