Lines Matching refs:WARN_ON_ONCE

464 		WARN_ON_ONCE(1);  in work_fixup_activate()
628 WARN_ON_ONCE(!work_pending(work)); in set_work_data()
869 WARN_ON_ONCE(worker->pool->cpu != cpu); in wq_worker_waking_up()
905 if (WARN_ON_ONCE(cpu != raw_smp_processor_id() || pool->cpu != cpu)) in wq_worker_sleeping()
939 WARN_ON_ONCE(worker->task != current); in worker_set_flags()
965 WARN_ON_ONCE(worker->task != current); in worker_clr_flags()
1077 WARN_ON_ONCE(pwq->refcnt <= 0); in get_pwq()
1093 if (WARN_ON_ONCE(!(pwq->wq->flags & WQ_UNBOUND))) in put_pwq()
1356 WARN_ON_ONCE(!irqs_disabled()); in __queue_work()
1362 WARN_ON_ONCE(!is_chained_work(wq))) in __queue_work()
1486 WARN_ON_ONCE(timer->function != delayed_work_timer_fn || in __queue_delayed_work()
1488 WARN_ON_ONCE(timer_pending(timer)); in __queue_delayed_work()
1489 WARN_ON_ONCE(!list_empty(&work->entry)); in __queue_delayed_work()
1597 if (WARN_ON_ONCE(worker->flags & WORKER_IDLE) || in worker_enter_idle()
1598 WARN_ON_ONCE(!list_empty(&worker->entry) && in worker_enter_idle()
1619 WARN_ON_ONCE(!(pool->flags & POOL_DISASSOCIATED) && in worker_enter_idle()
1637 if (WARN_ON_ONCE(!(worker->flags & WORKER_IDLE))) in worker_leave_idle()
2019 WARN_ON_ONCE(!(pool->flags & POOL_DISASSOCIATED) && in process_one_work()
2165 WARN_ON_ONCE(!list_empty(&worker->entry)); in worker_thread()
2190 WARN_ON_ONCE(!list_empty(&worker->scheduled)); in worker_thread()
2304 WARN_ON_ONCE(!list_empty(scheduled)); in rescuer_thread()
2360 WARN_ON_ONCE(!(rescuer->flags & WORKER_NOT_RUNNING)); in rescuer_thread()
2477 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush)); in flush_workqueue_prep_pwqs()
2487 WARN_ON_ONCE(pwq->flush_color != -1); in flush_workqueue_prep_pwqs()
2497 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2542 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow)); in flush_workqueue()
2548 WARN_ON_ONCE(wq->flush_color != this_flusher.flush_color); in flush_workqueue()
2561 WARN_ON_ONCE(wq->flush_color == this_flusher.flush_color); in flush_workqueue()
2595 WARN_ON_ONCE(!list_empty(&this_flusher.list)); in flush_workqueue()
2596 WARN_ON_ONCE(wq->flush_color != this_flusher.flush_color); in flush_workqueue()
2609 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow) && in flush_workqueue()
2634 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2642 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
2643 WARN_ON_ONCE(wq->flush_color != next->flush_color); in flush_workqueue()
3349 if (WARN_ON_ONCE(!(wq->flags & WQ_UNBOUND))) in pwq_unbound_release_workfn()
4476 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in rebind_workers()
4522 WARN_ON_ONCE(!(worker_flags & WORKER_UNBOUND)); in rebind_workers()
4559 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in restore_unbound_workers_cpumask()
4702 WARN_ON_ONCE(workqueue_freezing); in freeze_workqueues_begin()
4736 WARN_ON_ONCE(!workqueue_freezing); in freeze_workqueues_busy()
4747 WARN_ON_ONCE(pwq->nr_active < 0); in freeze_workqueues_busy()