Searched refs:nvme_thread (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/nvme/host/
H A Dpci.c85 static struct task_struct *nvme_thread; variable in typeref:struct:task_struct
2912 * for whether or not we need to stop the nvme_thread.
2920 if (list_empty(&dev_list) && !IS_ERR_OR_NULL(nvme_thread)) { nvme_dev_list_remove()
2921 tmp = nvme_thread; nvme_dev_list_remove()
2922 nvme_thread = NULL; nvme_dev_list_remove()
3148 if (list_empty(&dev_list) && IS_ERR_OR_NULL(nvme_thread)) { nvme_probe_work()
3150 nvme_thread = NULL; nvme_probe_work()
3156 nvme_thread = kthread_run(nvme_kthread, NULL, "nvme"); nvme_probe_work()
3159 wait_event_killable(nvme_kthread_wait, nvme_thread); nvme_probe_work()
3161 if (IS_ERR_OR_NULL(nvme_thread)) { nvme_probe_work()
3162 result = nvme_thread ? PTR_ERR(nvme_thread) : -EINTR; nvme_probe_work()
3516 BUG_ON(nvme_thread && !IS_ERR(nvme_thread)); nvme_exit()

Completed in 54 milliseconds