Lines Matching refs:WARN_ON_ONCE
459 WARN_ON_ONCE(1); in work_fixup_activate()
623 WARN_ON_ONCE(!work_pending(work)); in set_work_data()
864 WARN_ON_ONCE(worker->pool->cpu != cpu); in wq_worker_waking_up()
900 if (WARN_ON_ONCE(cpu != raw_smp_processor_id() || pool->cpu != cpu)) in wq_worker_sleeping()
934 WARN_ON_ONCE(worker->task != current); in worker_set_flags()
960 WARN_ON_ONCE(worker->task != current); in worker_clr_flags()
1072 WARN_ON_ONCE(pwq->refcnt <= 0); in get_pwq()
1088 if (WARN_ON_ONCE(!(pwq->wq->flags & WQ_UNBOUND))) in put_pwq()
1351 WARN_ON_ONCE(!irqs_disabled()); in __queue_work()
1357 WARN_ON_ONCE(!is_chained_work(wq))) in __queue_work()
1481 WARN_ON_ONCE(timer->function != delayed_work_timer_fn || in __queue_delayed_work()
1483 WARN_ON_ONCE(timer_pending(timer)); in __queue_delayed_work()
1484 WARN_ON_ONCE(!list_empty(&work->entry)); in __queue_delayed_work()
1592 if (WARN_ON_ONCE(worker->flags & WORKER_IDLE) || in worker_enter_idle()
1593 WARN_ON_ONCE(!list_empty(&worker->entry) && in worker_enter_idle()
1614 WARN_ON_ONCE(!(pool->flags & POOL_DISASSOCIATED) && in worker_enter_idle()
1632 if (WARN_ON_ONCE(!(worker->flags & WORKER_IDLE))) in worker_leave_idle()
2012 WARN_ON_ONCE(!(pool->flags & POOL_DISASSOCIATED) && in process_one_work()
2158 WARN_ON_ONCE(!list_empty(&worker->entry)); in worker_thread()
2183 WARN_ON_ONCE(!list_empty(&worker->scheduled)); in worker_thread()
2297 WARN_ON_ONCE(!list_empty(scheduled)); in rescuer_thread()
2353 WARN_ON_ONCE(!(rescuer->flags & WORKER_NOT_RUNNING)); in rescuer_thread()
2470 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush)); in flush_workqueue_prep_pwqs()
2480 WARN_ON_ONCE(pwq->flush_color != -1); in flush_workqueue_prep_pwqs()
2490 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2535 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow)); in flush_workqueue()
2541 WARN_ON_ONCE(wq->flush_color != this_flusher.flush_color); in flush_workqueue()
2554 WARN_ON_ONCE(wq->flush_color == this_flusher.flush_color); in flush_workqueue()
2588 WARN_ON_ONCE(!list_empty(&this_flusher.list)); in flush_workqueue()
2589 WARN_ON_ONCE(wq->flush_color != this_flusher.flush_color); in flush_workqueue()
2602 WARN_ON_ONCE(!list_empty(&wq->flusher_overflow) && in flush_workqueue()
2627 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2635 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
2636 WARN_ON_ONCE(wq->flush_color != next->flush_color); in flush_workqueue()
3314 if (WARN_ON_ONCE(!(wq->flags & WQ_UNBOUND))) in pwq_unbound_release_workfn()
4456 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in rebind_workers()
4502 WARN_ON_ONCE(!(worker_flags & WORKER_UNBOUND)); in rebind_workers()
4539 WARN_ON_ONCE(set_cpus_allowed_ptr(worker->task, in restore_unbound_workers_cpumask()
4682 WARN_ON_ONCE(workqueue_freezing); in freeze_workqueues_begin()
4716 WARN_ON_ONCE(!workqueue_freezing); in freeze_workqueues_busy()
4727 WARN_ON_ONCE(pwq->nr_active < 0); in freeze_workqueues_busy()