Searched refs:wq_active (Results 1 – 5 of 5) sorted by relevance
177 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()
390 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()
193 percpu_ref_kill(&wq->wq_active); in idxd_int_handle_revoke()201 percpu_ref_reinit(&wq->wq_active); in idxd_int_handle_revoke()
190 struct percpu_ref wq_active; member
108 atomic_t wq_active; member1080 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()