Home
last modified time | relevance | path

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

/linux/drivers/vhost/
H A Dvhost.c697 struct vhost_worker *old_worker; in __vhost_vq_attach_worker() local
707 old_worker = rcu_dereference_check(vq->worker, in __vhost_vq_attach_worker()
712 if (!old_worker) { in __vhost_vq_attach_worker()
724 mutex_lock(&old_worker->mutex); in __vhost_vq_attach_worker()
725 if (old_worker->killed) { in __vhost_vq_attach_worker()
726 mutex_unlock(&old_worker->mutex); in __vhost_vq_attach_worker()
741 old_worker->attachment_cnt--; in __vhost_vq_attach_worker()
742 mutex_unlock(&old_worker->mutex); in __vhost_vq_attach_worker()
748 WARN_ON(!old_worker->attachment_cnt && in __vhost_vq_attach_worker()
749 !llist_empty(&old_worker->work_list)); in __vhost_vq_attach_worker()
[all …]