Searched refs:wrk (Results 1 – 4 of 4) sorted by relevance
/u-boot/drivers/mtd/ubi/ |
A D | fastmap-wl.c | 14 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument 20 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn() 291 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local 301 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs() 302 if (!wrk) { in ubi_ensure_anchor_pebs() 309 wrk->anchor = 1; in ubi_ensure_anchor_pebs() 310 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs() 311 schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs() 359 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument 361 return wrk->func == erase_worker; in ubi_is_erase_work()
|
A D | wl.c | 198 struct ubi_work *wrk; in do_work() local 217 list_del(&wrk->list); in do_work() 227 err = wrk->func(ubi, wrk, 0); in do_work() 683 kfree(wrk); 987 struct ubi_work *wrk; local 1022 if (!wrk) { 1027 wrk->anchor = 0; 1383 err = wrk->func(ubi, wrk, 0); 1511 struct ubi_work *wrk; local 1514 list_del(&wrk->list); [all …]
|
A D | wl.h | 6 static void update_fastmap_work_fn(struct work_struct *wrk);
|
A D | ubi.h | 769 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown); 881 int ubi_is_erase_work(struct ubi_work *wrk);
|
Completed in 9 milliseconds