Lines Matching refs:nvme_thread
85 static struct task_struct *nvme_thread; variable
2916 if (list_empty(&dev_list) && !IS_ERR_OR_NULL(nvme_thread)) { in nvme_dev_list_remove()
2917 tmp = nvme_thread; in nvme_dev_list_remove()
2918 nvme_thread = NULL; in nvme_dev_list_remove()
3151 if (list_empty(&dev_list) && IS_ERR_OR_NULL(nvme_thread)) { in nvme_probe_work()
3153 nvme_thread = NULL; in nvme_probe_work()
3159 nvme_thread = kthread_run(nvme_kthread, NULL, "nvme"); in nvme_probe_work()
3162 wait_event_killable(nvme_kthread_wait, nvme_thread); in nvme_probe_work()
3164 if (IS_ERR_OR_NULL(nvme_thread)) { in nvme_probe_work()
3165 result = nvme_thread ? PTR_ERR(nvme_thread) : -EINTR; in nvme_probe_work()
3547 BUG_ON(nvme_thread && !IS_ERR(nvme_thread)); in nvme_exit()