Home
last modified time | relevance | path

Searched refs:rwork (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c166 struct rcu_work *rwork; in rcu_work_func() local
168 rwork = container_of(rcu, struct rcu_work, rcu); in rcu_work_func()
169 linux_queue_work_on(WORK_CPU_UNBOUND, rwork->wq, &rwork->work); in rcu_work_func()
178 linux_queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) in linux_queue_rcu_work() argument
181 if (!linux_work_pending(&rwork->work)) { in linux_queue_rcu_work()
182 rwork->wq = wq; in linux_queue_rcu_work()
183 linux_call_rcu(RCU_TYPE_REGULAR, &rwork->rcu, rcu_work_func); in linux_queue_rcu_work()
196 linux_flush_rcu_work(struct rcu_work *rwork) in linux_flush_rcu_work() argument
199 if (linux_work_pending(&rwork->work)) { in linux_flush_rcu_work()
201 linux_flush_work(&rwork->work); in linux_flush_rcu_work()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dworkqueue.h206 #define queue_rcu_work(wq, rwork) \ argument
207 linux_queue_rcu_work(wq, rwork)
209 #define flush_rcu_work(rwork) \ argument
210 linux_flush_rcu_work(rwork)
258 extern bool linux_queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork);
259 extern bool linux_flush_rcu_work(struct rcu_work *rwork);