Lines Matching refs:ubi_work
196 struct ubi_work *wrk; in do_work()
214 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
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()
589 static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk,
606 struct ubi_work *wl_wrk; in schedule_erase()
613 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in schedule_erase()
643 struct ubi_work *wl_wrk; in do_sync_erase()
647 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in do_sync_erase()
670 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk,
985 struct ubi_work *wrk;
1019 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS);
1060 static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk,
1368 struct ubi_work *wrk, *tmp;
1509 struct ubi_work *wrk;
1511 wrk = list_entry(ubi->works.next, struct ubi_work, list);