Lines Matching defs:cancel
143 * The @func pointer points to the worker function. If the @cancel argument is
150 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int cancel);
698 int cancel);
733 * @cancel: non-zero if the worker has to free memory and exit
740 int cancel)
748 if (cancel)
765 * implementation, so if a LEB is already being moved, cancel.
767 * No free physical eraseblocks? Well, we cancel wear-leveling
776 dbg_wl("cancel WL, a list is empty: free %d, used %d",
893 dbg_wl("error %d occurred, cancel operation", err);
999 * @cancel: non-zero if the worker has to free memory and exit
1007 int cancel)
1013 if (cancel) {
1014 dbg_wl("cancel erasure of PEB %d EC %d", pnum, e->ec);
1340 * cancel_pending - cancel all pending works.