Lines Matching refs:rew
346 struct rcu_node *rnp = container_of(rewp, struct rcu_node, rew); in __sync_rcu_exp_select_node_cpus()
438 kthread_init_work(&rnp->rew.rew_work, sync_rcu_exp_select_node_cpus); in sync_rcu_exp_select_cpus_queue_work()
444 kthread_queue_work(rcu_exp_par_gp_kworker, &rnp->rew.rew_work); in sync_rcu_exp_select_cpus_queue_work()
449 kthread_flush_work(&rnp->rew.rew_work); in sync_rcu_exp_select_cpus_flush_work()
463 static inline void synchronize_rcu_expedited_queue_work(struct rcu_exp_work *rew) in synchronize_rcu_expedited_queue_work() argument
465 kthread_init_work(&rew->rew_work, wait_rcu_exp_gp); in synchronize_rcu_expedited_queue_work()
466 kthread_queue_work(rcu_exp_gp_kworker, &rew->rew_work); in synchronize_rcu_expedited_queue_work()
469 static inline void synchronize_rcu_expedited_destroy_work(struct rcu_exp_work *rew) in synchronize_rcu_expedited_destroy_work() argument
490 INIT_WORK(&rnp->rew.rew_work, sync_rcu_exp_select_node_cpus); in sync_rcu_exp_select_cpus_queue_work()
496 queue_work_on(cpu, rcu_par_gp_wq, &rnp->rew.rew_work); in sync_rcu_exp_select_cpus_queue_work()
501 flush_work(&rnp->rew.rew_work); in sync_rcu_exp_select_cpus_flush_work()
515 static inline void synchronize_rcu_expedited_queue_work(struct rcu_exp_work *rew) in synchronize_rcu_expedited_queue_work() argument
517 INIT_WORK_ONSTACK(&rew->rew_work, wait_rcu_exp_gp); in synchronize_rcu_expedited_queue_work()
518 queue_work(rcu_gp_wq, &rew->rew_work); in synchronize_rcu_expedited_queue_work()
521 static inline void synchronize_rcu_expedited_destroy_work(struct rcu_exp_work *rew) in synchronize_rcu_expedited_destroy_work() argument
523 destroy_work_on_stack(&rew->rew_work); in synchronize_rcu_expedited_destroy_work()
548 sync_rcu_exp_select_node_cpus(&rnp->rew.rew_work); in sync_rcu_exp_select_cpus()
957 struct rcu_exp_work rew; in synchronize_rcu_expedited() local
1000 rew.rew_s = s; in synchronize_rcu_expedited()
1001 synchronize_rcu_expedited_queue_work(&rew); in synchronize_rcu_expedited()
1014 synchronize_rcu_expedited_destroy_work(&rew); in synchronize_rcu_expedited()