Searched refs:thrinfo (Results 1 – 1 of 1) sorted by relevance
164 static int visor_thread_start(struct visor_thread_info *thrinfo, in visor_thread_start() argument169 init_completion(&thrinfo->has_stopped); in visor_thread_start()170 thrinfo->task = kthread_run(threadfn, thrcontext, name); in visor_thread_start()171 if (IS_ERR(thrinfo->task)) { in visor_thread_start()172 thrinfo->id = 0; in visor_thread_start()173 return PTR_ERR(thrinfo->task); in visor_thread_start()175 thrinfo->id = thrinfo->task->pid; in visor_thread_start()