Home
last modified time | relevance | path

Searched refs:wq_active (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/dma/idxd/
Dsubmit.c177 if (!percpu_ref_tryget_live(&wq->wq_active)) { in idxd_submit_desc()
179 if (!percpu_ref_tryget_live(&wq->wq_active)) in idxd_submit_desc()
207 percpu_ref_put(&wq->wq_active); in idxd_submit_desc()
215 percpu_ref_put(&wq->wq_active); in idxd_submit_desc()
Ddevice.c390 struct idxd_wq *wq = container_of(ref, struct idxd_wq, wq_active); in idxd_wq_ref_release()
399 memset(&wq->wq_active, 0, sizeof(wq->wq_active)); in idxd_wq_init_percpu_ref()
400 rc = percpu_ref_init(&wq->wq_active, idxd_wq_ref_release, in idxd_wq_init_percpu_ref()
413 percpu_ref_kill(&wq->wq_active); in __idxd_wq_quiesce()
1509 percpu_ref_exit(&wq->wq_active); in drv_disable_wq()
Dirq.c193 percpu_ref_kill(&wq->wq_active); in idxd_int_handle_revoke()
201 percpu_ref_reinit(&wq->wq_active); in idxd_int_handle_revoke()
Didxd.h190 struct percpu_ref wq_active; member
/linux-6.6.21/drivers/virtio/
Dvirtio_mem.c108 atomic_t wq_active; member
1080 if (!atomic_read(&vm->wq_active) && in virtio_mem_memory_notifier_cb()
2407 atomic_set(&vm->wq_active, 1); in virtio_mem_run_wq()
2476 atomic_set(&vm->wq_active, 0); in virtio_mem_run_wq()