Lines Matching refs:nvme_thread
85 static struct task_struct *nvme_thread; variable
2920 if (list_empty(&dev_list) && !IS_ERR_OR_NULL(nvme_thread)) { in nvme_dev_list_remove()
2921 tmp = nvme_thread; in nvme_dev_list_remove()
2922 nvme_thread = NULL; in nvme_dev_list_remove()
3148 if (list_empty(&dev_list) && IS_ERR_OR_NULL(nvme_thread)) { in nvme_probe_work()
3150 nvme_thread = NULL; in nvme_probe_work()
3156 nvme_thread = kthread_run(nvme_kthread, NULL, "nvme"); in nvme_probe_work()
3159 wait_event_killable(nvme_kthread_wait, nvme_thread); in nvme_probe_work()
3161 if (IS_ERR_OR_NULL(nvme_thread)) { in nvme_probe_work()
3162 result = nvme_thread ? PTR_ERR(nvme_thread) : -EINTR; in nvme_probe_work()
3516 BUG_ON(nvme_thread && !IS_ERR(nvme_thread)); in nvme_exit()