Lines Matching refs:barr
2652 struct wq_barrier *barr = container_of(work, struct wq_barrier, work); in wq_barrier_func() local
2653 complete(&barr->done); in wq_barrier_func()
2681 struct wq_barrier *barr, in insert_wq_barrier() argument
2694 INIT_WORK_ONSTACK(&barr->work, wq_barrier_func); in insert_wq_barrier()
2695 __set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(&barr->work)); in insert_wq_barrier()
2697 init_completion_map(&barr->done, &target->lockdep_map); in insert_wq_barrier()
2699 barr->task = current; in insert_wq_barrier()
2724 debug_work_activate(&barr->work); in insert_wq_barrier()
2725 insert_work(pwq, &barr->work, head, work_flags); in insert_wq_barrier()
3012 static bool start_flush_work(struct work_struct *work, struct wq_barrier *barr, in start_flush_work() argument
3043 insert_wq_barrier(pwq, barr, work, worker); in start_flush_work()
3070 struct wq_barrier barr; in __flush_work() local
3083 if (start_flush_work(work, &barr, from_cancel)) { in __flush_work()
3084 wait_for_completion(&barr.done); in __flush_work()
3085 destroy_work_on_stack(&barr.work); in __flush_work()
4717 struct wq_barrier *barr; in pr_cont_work() local
4719 barr = container_of(work, struct wq_barrier, work); in pr_cont_work()
4722 task_pid_nr(barr->task)); in pr_cont_work()