Lines Matching defs:rwork
1739 struct rcu_work *rwork = container_of(rcu, struct rcu_work, rcu);
1743 __queue_work(WORK_CPU_UNBOUND, rwork->wq, &rwork->work);
1750 * @rwork: work to queue
1752 * Return: %false if @rwork was already pending, %true otherwise. Note
1754 * While @rwork is guaranteed to be executed after a %false return, the
1757 bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork)
1759 struct work_struct *work = &rwork->work;
1762 rwork->wq = wq;
1763 call_rcu(&rwork->rcu, rcu_work_rcufn);
3207 * flush_rcu_work - wait for a rwork to finish executing the last queueing
3208 * @rwork: the rcu work to flush
3214 bool flush_rcu_work(struct rcu_work *rwork)
3216 if (test_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(&rwork->work))) {
3218 flush_work(&rwork->work);
3221 return flush_work(&rwork->work);